Don't put people in the wheel group, to avoid sudo -i, use ssh root@localhost instead.
This commit is contained in:
parent
bd674ce4eb
commit
b7b0535b74
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ in
|
|||
uid = cfg.uid;
|
||||
home = "/home/${cfg.userName}";
|
||||
initialPassword = cfg.userName;
|
||||
extraGroups = [ "wheel" "networkmanager" "transmission" "wireshark" "audio" "pipewire" "input" ]
|
||||
extraGroups = [ "networkmanager" "transmission" "wireshark" "audio" "pipewire" "input" ]
|
||||
++ dockerGroup ++ vboxGroup ++ cfg.extraGroups;
|
||||
openssh.authorizedKeys.keyFiles = cfg.authorizedKeyFiles;
|
||||
group = config.users.groups.mainUser.name;
|
||||
|
|
Loading…
Reference in a new issue