DIR=$(HOME)/Projects/zion

switch:
	nixos-rebuild switch --no-reexec --target-host root@zion \
	--build-host root@zion --flake path://$(DIR)#zion
update:
	nix flake update --commit-lock-file
upgrade:
	make update && make switch

.DEFAULT_GOAL := switch
