From 2263671c67c63c95eac2c3f1acb324055bee45a2 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 14 Feb 2023 20:59:28 +0100 Subject: [PATCH] Specify build host and directory in the makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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