mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 21:13:30 +01:00
lib.mkIf returns an attrset, not a string, so it cannot be used
as a list element. Replace with lib.optional.
Fixes: error: expected a string but found a set: { _type = "if"; ... }