From c8666c3638e2021974fa8973bb8eabbf0df0d913 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 10 May 2025 11:14:54 -0500 Subject: [PATCH] doas fixes --- modules/system/security/doas/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/system/security/doas/default.nix b/modules/system/security/doas/default.nix index 0d6e3427..477b73f6 100644 --- a/modules/system/security/doas/default.nix +++ b/modules/system/security/doas/default.nix @@ -15,6 +15,17 @@ in { security.doas.enable = true; security.sudo.enable = false; security.doas.extraRules = [ + { + users = adminUsers; + keepEnv = true; + persist = true; + } + { + users = adminUsers; + cmd = "phoenix"; + noPass = true; + keepEnv = true; + } { users = adminUsers; cmd = "nix";