fix deployment warnings

This commit is contained in:
Ingolf Wagner 2023-01-07 21:11:25 +01:00
parent f190a7d6ff
commit 01b22a20a1
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
9 changed files with 28 additions and 7 deletions
nixos/modules/system

View file

@ -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;
};
};
};
}