diff options
author | tdback <tyler@tdback.net> | 2024-12-28 10:47:39 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2024-12-28 10:47:39 -0500 |
commit | 3a8b7eea44e10855ef478c4c13a79f55ea24aeb9 (patch) | |
tree | ea9e8eed917394e069f6b64960567b11f70a7dc2 /modules | |
parent | 43e411eed4885c567532c5ca75b880ec6dad71a2 (diff) |
switch to sudo instead of doas to allow for remote builds
Diffstat (limited to 'modules')
-rw-r--r-- | modules/profiles/security/default.nix | 10 |
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; }; }; } |