wip
This commit is contained in:
parent
7e7f04574b
commit
49861c4c33
3 changed files with 86 additions and 89 deletions
|
@ -44,10 +44,8 @@ in
|
|||
// {
|
||||
inherit name;
|
||||
isNormalUser = true;
|
||||
# TODO
|
||||
# initialPassword = lib.mkIf (
|
||||
# userConfig.initialPassword != null
|
||||
# ) userConfig.initialPassword "password1";
|
||||
initialPassword =
|
||||
if (lib.hasAttr "initialPassword" userConfig) then userConfig.initialPassword else "password1";
|
||||
extraGroups =
|
||||
lib.optionals (builtins.elem name cfg.admins) [ "wheel" ] ++ (userConfig.extraGroups or [ ]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue