undoing child flake

This commit is contained in:
ari committed 2024-05-19 00:21:57 -04:00
1 parent 72eeca763e
commit e9df5d8c46
1 file changed
+5 -6
+5 -6
View File
@@ -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: