diff --git a/modules/common/default.nix b/modules/common/default.nix index e6b094f..2f5ffd3 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -118,8 +118,8 @@ options = [ "NOPASSWD" ]; } { - command = "ALL"; - options = [ "SETENV" ]; + command = "/run/current-system/sw/bin/nix-env"; + options = [ "NOPASSWD" ]; } ]; }