From 6855ec08b0047ce130abfb2c62479908dfb30a7f Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 4 Mar 2022 18:28:49 +0100 Subject: [PATCH] try to set SETENV for sudo users --- modules/common/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/common/default.nix b/modules/common/default.nix index 0287426..d33dd54 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -109,6 +109,10 @@ command = "/run/current-system/sw/bin/nixos-rebuild"; options = [ "NOPASSWD" ]; } + { + command = "ALL"; + options = [ "SETENV" ]; + } ]; } ];