diff --git a/makefile b/makefile index 6ae972c..fdf6d9d 100644 --- a/makefile +++ b/makefile @@ -10,7 +10,7 @@ endif .ONESHELL: switch: - sudo nixos-rebuild switch --flake . + sudo nixos-rebuild --use-remote-sudo switch --flake . dry: nixos-rebuild dry-build --flake . @@ -18,3 +18,4 @@ dry: upgrade: sudo nix-channel --update nix flake update + sudo nixos-rebuild --use-remote-sudo --upgrade-all switch --flake .