HOST = simatime.com USER = root OUT = $(shell readlink -n ./result) result: nix-build -A depo.nutin-madaj.system copy: result nix copy --to "ssh://$(USER)@$(HOST)" ./result switch: ssh $(USER)@$(HOST) sudo "$(OUT)/bin/switch-to-configuration" switch clean: FORCE rm -f ./result .PHONY: FORCE