Skip to content

Commit c9f9703

Browse files
authored
fixup! fix: only eval enable option if visible (#214) (#218)
Turns out not all options have the visible attribute.
1 parent 14c092e commit c9f9703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module-options.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ in
202202
pkgs.lib.concatMapAttrs
203203
(
204204
k: v:
205-
if options.programs.${k}.enable.visible && v.enable then
205+
if (options.programs.${k}.enable.visible or true) && v.enable then
206206
{ "${k}" = v.package; } else { }
207207
)
208208
config.programs;

0 commit comments

Comments
 (0)