Commit a0aec3ee3dcf

Vincent Demeester <vincent@sbr.pm>
2022-09-16 17:02:05
Makefile: special shikoku and kerkouane targets
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent abf9a19
Changed files (1)
Makefile
@@ -13,6 +13,15 @@ host/%/boot: FORCE
 host/%/switch: FORCE
 	nixos-rebuild --build-host ${BUILDER_HOST} --target-host root@$*.home --flake .#$* switch
 
+host/shikoku/boot:
+	nixos-rebuild --build-host root@shikoku.home --target-host root@shikoku.home --flake .#shikoku boot
+host/shikoku/switch:
+	nixos-rebuild --build-host root@shikoku.home --target-host root@shikoku.home --flake .#shikoku switch
+host/kerkouane/boot:
+	nixos-rebuild --build-host ${BUILDER_HOST} --target-host root@kerkouane.vpn --flake .#kerkouane boot
+host/kerkouane/switch:
+	nixos-rebuild --build-host ${BUILDER_HOST} --target-host root@kerkouane.vpn --flake .#kerkouane switch
+
 boot:
 	sudo nixos-rebuild --flake .# boot
 switch: