about summary refs log tree commit diff
path: root/nixos/alpha
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-20 14:42:46 +0900
committersefidel <contact@sefidel.net>2022-01-20 15:01:34 +0900
commitdc8c63666d0065dd2771c7fa3a897d5c35dd1252 (patch)
tree26f378afb75d61f1d9b99f490a97fb6866f89ecd /nixos/alpha
parent42dba07fb327d2b143aef941d039555833df1e34 (diff)
downloadnixrc-dc8c63666d0065dd2771c7fa3a897d5c35dd1252.tar.gz
nixrc-dc8c63666d0065dd2771c7fa3a897d5c35dd1252.zip
home/base, nixos/alpha: add doas
Diffstat (limited to 'nixos/alpha')
-rw-r--r--nixos/alpha/configuration.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index a418841..dddd774 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -6,6 +6,8 @@
   security = {
     protectKernelImage = true;
     rtkit.enable = true;
+    doas.enable = true;
+    doas.wheelNeedsPassword = false;
     sudo.wheelNeedsPassword = false;
   };