diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 19:09:27 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 19:09:27 +0200 |
commit | ad58b57df7b298bc3e25c578f590d44da3ce36c9 (patch) | |
tree | 28be43da790fa014e13a7284e5a5979537a8721a /modules/doas/default.nix | |
download | nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.gz nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.bz2 nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | modules/doas/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/doas/default.nix b/modules/doas/default.nix new file mode 100644 index 0000000..39cb03b --- /dev/null +++ b/modules/doas/default.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: + +{ + security = { + sudo.enable = false; + doas = { + enable = true; + extraRules = [{ + groups = [ "wheel" ]; + keepEnv = true; + persist = true; + }]; + }; + }; +} |