From edcb1a03c50e4d38f40ebc710f8f963dfc235537 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 7 Feb 2021 12:31:53 +0100 Subject: Doas does not need password --- modules/doas.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/doas.nix') 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" ]; -- cgit 1.4.1