diff --git a/modules/common/default.nix b/modules/common/default.nix index 6d6cb22..946bcf6 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -101,6 +101,10 @@ in command = "${pkgs.nixos-rebuild}/bin/nixos-rebuild -j auto switch"; options = [ "NOPASSWD" ]; } + { + command = "/run/current-system/sw/bin/nixos-rebuild"; + options = [ "NOPASSWD" ]; + } ]; } ];