nix/denna: enable doas
Anirudh Oppiliappan x@icyphox.sh
Mon, 10 Jun 2024 21:38:00 +0300
1 files changed,
11 insertions(+),
0 deletions(-)
jump to
M
hosts/denna/configuration.nix
→
hosts/denna/configuration.nix
@@ -43,6 +43,17 @@ intel-compute-runtime
]; }; + security = { + doas.enable = true; + sudo.enable = true; + doas.extraConfig = '' + permit nopass :wheel + ''; + doas.extraRules = [{ + users = [ "icy" ]; + }]; + }; + users.users.icy = { isNormalUser = true; description = "icy";