diff --git a/Makefile b/Makefile index b497a61..dfd1b05 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ +DIR=$(HOME)/Projects/zion + switch: - nixos-rebuild switch --fast --target-host root@zion --flake path://$(PWD)#zion + nixos-rebuild switch --fast --target-host root@zion \ + --build-host root@zion --flake path://$(DIR)#zion .DEFAULT_GOAL := switch