aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2024-12-28 10:47:39 -0500
committertdback <tyler@tdback.net>2024-12-28 10:47:39 -0500
commit3a8b7eea44e10855ef478c4c13a79f55ea24aeb9 (patch)
treeea9e8eed917394e069f6b64960567b11f70a7dc2 /modules
parent43e411eed4885c567532c5ca75b880ec6dad71a2 (diff)
switch to sudo instead of doas to allow for remote builds
Diffstat (limited to 'modules')
-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;
};
};
}