Specify build host and directory in the makefile
This commit is contained in:
parent
63b442c6c9
commit
2263671c67
5
Makefile
5
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user