Skip to content

Commit 7d83faf

Browse files
committed
lib/configurations/default: fix typo, use optionals instead of optionalAttrs
Fixes #22
1 parent b3f6555 commit 7d83faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/configurations/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
[
148148
({options, ...}: {config.${myconfigName} = {inherit host;} // lib.optionalAttrs (options.${myconfigName} ? rice) {inherit rice;};})
149149
]
150-
++ (lib.optionalAttrs (rice != null) (apply.listOfEverything rice.myconfig rice.nixos rice.home rice.darwin))
150+
++ (lib.optionals (rice != null) (apply.listOfEverything rice.myconfig rice.nixos rice.home rice.darwin))
151151
++ builtins.concatMap (riceName: (apply.listOfEverything rices.${riceName}.myconfig rices.${riceName}.nixos rices.${riceName}.home) rices.${riceName}.darwin) (rice.inherits or []);
152152
};
153153
in

0 commit comments

Comments
 (0)