subrecipes = setup nix-info edit_env
subrecipes += ssh-eldiron ssh-backup-2 ssh-monitoring-1 ssh-4c
-subrecipes += debug build dry-run upload deploy deploy-reboot
+subrecipes += debug build dry-run upload deploy next-boot deploy-reboot
subrecipes += list-generations delete-generations cleanup
${subrecipes}:
@$(MAKE) --no-print-directory -C nixops/ $@
./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)