fix deployment warnings
This commit is contained in:
parent
f190a7d6ff
commit
01b22a20a1
9 changed files with 28 additions and 7 deletions
nixos/modules/system
|
@ -57,6 +57,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
|
||||
users = {
|
||||
|
||||
mutableUsers = true;
|
||||
|
@ -71,7 +72,16 @@ in
|
|||
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" ]
|
||||
++ dockerGroup ++ vboxGroup ++ cfg.extraGroups;
|
||||
openssh.authorizedKeys.keyFiles = cfg.authorizedKeyFiles;
|
||||
group = config.users.groups.mainUser.name;
|
||||
};
|
||||
|
||||
groups.mainUser = {
|
||||
name = cfg.userName;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue