From 0c9152bd668e599bf1f3b0f95e48bc07e649ac25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 5 Mar 2021 00:37:03 +0100 Subject: Add next-boot recipe to makefile --- nixops/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixops/Makefile') diff --git a/nixops/Makefile b/nixops/Makefile index f232e8a..f3d06ef 100644 --- a/nixops/Makefile +++ b/nixops/Makefile @@ -59,6 +59,10 @@ deploy: ./scripts/with_env morph deploy default.nix switch --keep-result --upload-secrets $(MORPH_ARGS) nix-env -p $(PROFILE) --set .gcroots/default.nix +next-boot: + ./scripts/with_env morph deploy default.nix boot --keep-result --upload-secrets $(MORPH_ARGS) + nix-env -p $(PROFILE) --set .gcroots/default.nix + deploy-reboot: ./scripts/with_env morph deploy default.nix boot --reboot --upload-secrets $(MORPH_ARGS) -- cgit v1.2.3