diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-07 12:31:53 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-07 12:31:53 +0100 |
commit | edcb1a03c50e4d38f40ebc710f8f963dfc235537 (patch) | |
tree | 1b988e30d49c9aed857d02c1e9568e18bd2ba6ed /modules/doas.nix | |
parent | 4ce4a0826b4f15f03c9c7a1257a5e96396c63c8b (diff) | |
download | dots-edcb1a03c50e4d38f40ebc710f8f963dfc235537.tar.gz dots-edcb1a03c50e4d38f40ebc710f8f963dfc235537.zip |
Doas does not need password
Diffstat (limited to 'modules/doas.nix')
-rw-r--r-- | modules/doas.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/doas.nix b/modules/doas.nix index 262028b..bf2ef38 100644 --- a/modules/doas.nix +++ b/modules/doas.nix @@ -6,6 +6,7 @@ wheelNeedsPassword = false; extraRules = [{ groups = [ "wheel" ]; + noPass = true; # keepEnv = true; # I need to set NIX_PATH explicitly, since my user and root use different paths setEnv = [ "NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels" ]; |