aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/security
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/security')
-rw-r--r--modules/profiles/security/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/profiles/security/default.nix b/modules/profiles/security/default.nix
index 47fe1a3..de73534 100644
--- a/modules/profiles/security/default.nix
+++ b/modules/profiles/security/default.nix
@@ -2,15 +2,9 @@
{
security = {
polkit.enable = true;
-
- sudo.enable = lib.mkDefault false;
- doas = {
+ sudo = {
enable = lib.mkDefault true;
- extraRules = [{
- groups = [ "wheel" ];
- keepEnv = true;
- persist = true;
- }];
+ wheelNeedsPassword = lib.mkDefault false;
};
};
}