From 3a8b7eea44e10855ef478c4c13a79f55ea24aeb9 Mon Sep 17 00:00:00 2001 From: tdback Date: Sat, 28 Dec 2024 10:47:39 -0500 Subject: switch to sudo instead of doas to allow for remote builds --- modules/profiles/security/default.nix | 10 ++-------- 1 file 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; }; }; } -- cgit v1.2.3