do home-manager options thingy
This commit is contained in:
12
lib.nix
12
lib.nix
@@ -4,6 +4,7 @@
|
||||
hostsFolder,
|
||||
hardwaresFolder,
|
||||
modulesFolder,
|
||||
homeDirectory ? "/home",
|
||||
inputs,
|
||||
globalConfig ? { },
|
||||
globalOverlays ? [ ],
|
||||
@@ -119,7 +120,16 @@ let
|
||||
extraSpecialArgs = extraArgs // {
|
||||
inherit system user;
|
||||
};
|
||||
modules = [ { home.stateVersion = stateVersion; } ] ++ homeModules;
|
||||
modules = [
|
||||
{
|
||||
home = {
|
||||
stateVersion = stateVersion;
|
||||
homeDirectory = "${homeDirectory}/${user}";
|
||||
username = user;
|
||||
};
|
||||
}
|
||||
]
|
||||
++ homeModules;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user