Added home manager configs

This commit is contained in:
ari committed 2024-08-09 22:00:37 -04:00
1 parent 66a876ee72
commit 73013afe1c
4 files changed
+21 -106

No files matched your search

+17
View File
@@ -59,6 +59,22 @@ let
})
];
};
makeHomeManagerUsers =
{ modules ? [ ]
, homeManagerVersion
, user
}:
let
hm = (import ../home-manager.nix {
stateVersion = homeManagerVersion;
});
in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(hm.makeCommonUser user)
] ++ modules;
};
in
{
eachSystem = eachSystem;
@@ -66,6 +82,7 @@ in
makeNixOsModule = makeNixOsModule;
makeHLService = makeHLService;
makeDarwinModule = makeDarwinModule;
makeHomeManagerUsers = makeHomeManagerUsers;
makeHLServices =
{ nodeNames ? [ ]
, systemStateVersion ? "24.05"