fix(stolas): wheel needs password to sudo
This commit is contained in:
parent
2e8aa80b70
commit
cfb4b8d160
2 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,7 @@ in
|
||||||
|
|
||||||
services.sshd.enable = true;
|
services.sshd.enable = true;
|
||||||
services.openssh.settings.PasswordAuthentication = false;
|
services.openssh.settings.PasswordAuthentication = false;
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = lib.mkDefault false;
|
||||||
services.openssh.openFirewall = true;
|
services.openssh.openFirewall = true;
|
||||||
|
|
||||||
users.users = mapAttrs (user: keys: {
|
users.users = mapAttrs (user: keys: {
|
||||||
|
|
|
@ -48,4 +48,5 @@ with lib;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
|
security.sudo.wheelNeedsPassword = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue