undoing child flake
This commit is contained in:
1 parent
72eeca763e
commit
e9df5d8c46
1 file changed
+5
-6
+5
-6
@@ -6,12 +6,11 @@
|
||||
makeNixOsModule = { system, configuration ? null, ... }@attrs:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
system = system;
|
||||
modules = (import ./main.nix attrs)
|
||||
++ (if attrs.home-manager.enable then
|
||||
[ home-manager.nixosModules.default ]
|
||||
else
|
||||
[ ])
|
||||
++ (if (isNull configuration) then [ configuration ] else [ ]);
|
||||
modules = (if (isNull configuration) then [ ] else [ configuration ]) ++
|
||||
(if attrs.home-manager.enable then
|
||||
[ home-manager.nixosModules.default ]
|
||||
else
|
||||
[ ]);
|
||||
};
|
||||
makeDarwinModule =
|
||||
{ system ? "x86_64-darwin", user, configuration ? null, ... }@attrs:
|
||||
|
||||
Reference in new issue
Block a user