feat: Set default for sudo wheelNeedsPassword in base and gui services

The update modifies the default setting for the 'sudo wheelNeedsPassword' option in both the base and gui modules/services. Now, the base service has 'sudo wheelNeedsPassword' marked as a default option and disabled by default in the gui service.
This commit is contained in:
Harald Hoyer 2024-06-25 10:06:08 +02:00
parent 8ec7849a21
commit 58dd6f0e63
2 changed files with 2 additions and 1 deletions

View file

@ -114,7 +114,7 @@ in
tpm2.abrmd.enable = lib.mkDefault true;
sudo = {
enable = true;
wheelNeedsPassword = false;
wheelNeedsPassword = lib.mkDefault false;
};
};

View file

@ -60,6 +60,7 @@ in
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
security.sudo.wheelNeedsPassword = false;
programs.gnupg.agent = {
enable = true;