feat: Require password for sudo wheel users
The default value for `wheelNeedsPassword` has been changed to `true` in `base/default.nix`. The redundant entry in `gui/default.nix` setting `wheelNeedsPassword` to `true` was removed as it is now enforced by the base module.
This commit is contained in:
parent
1033d30619
commit
a6460fede4
|
@ -114,7 +114,7 @@ in
|
|||
tpm2.abrmd.enable = lib.mkDefault true;
|
||||
sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = lib.mkDefault false;
|
||||
wheelNeedsPassword = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -60,7 +60,6 @@ in
|
|||
hardware.pulseaudio.enable = false;
|
||||
|
||||
security.rtkit.enable = true;
|
||||
security.sudo.wheelNeedsPassword = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue