diff --git a/modules/common/default.nix b/modules/common/default.nix index 3de0cdd..4d8b4f0 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -110,7 +110,7 @@ options = [ "NOPASSWD" ]; } { - command = "/run/current-system/sw/bin/nix-env -p /nix/var/nix/profiles/system"; + command = "/run/current-system/sw/bin/nix-env -p"; options = [ "NOPASSWD" ]; } ];