generalized hlservice

This commit is contained in:
Ari Sosnovsky committed 2024-07-26 17:04:13 -04:00
1 parent 218b50f185
commit 060f0ff85d
3 files changed
+57 -25

No files matched your search

+13
View File
@@ -27,6 +27,19 @@ in
home-manager-modules = [ home-manager.nixosModules.default ];
});
};
makeNixOsModuleMaker =
masterAttrs:
{ system ? masterAttrs.system ? "x86_64-linux"
, configuration ? null
, ...
}@attrs:
nixpkgs.lib.nixosSystem {
system = system;
modules = (makeImports {
attrs = masterAttrs // attrs;
home-manager-modules = [ home-manager.nixosModules.default ];
});
};
makeDarwinModule =
{ system ? "x86_64-darwin"
, user