diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-03-05 00:37:03 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-03-05 00:37:03 +0100 |
commit | 0c9152bd668e599bf1f3b0f95e48bc07e649ac25 (patch) | |
tree | 7970cdb60fe7ba614beda1c696d72748dd1d5e20 /nixops/Makefile | |
parent | 485354e5289157cea4de521b5ff13aae9f85a02d (diff) | |
download | Nix-0c9152bd668e599bf1f3b0f95e48bc07e649ac25.tar.gz Nix-0c9152bd668e599bf1f3b0f95e48bc07e649ac25.tar.zst Nix-0c9152bd668e599bf1f3b0f95e48bc07e649ac25.zip |
Add next-boot recipe to makefile
Diffstat (limited to 'nixops/Makefile')
-rw-r--r-- | nixops/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixops/Makefile b/nixops/Makefile index f232e8a..f3d06ef 100644 --- a/nixops/Makefile +++ b/nixops/Makefile | |||
@@ -59,6 +59,10 @@ deploy: | |||
59 | ./scripts/with_env morph deploy default.nix switch --keep-result --upload-secrets $(MORPH_ARGS) | 59 | ./scripts/with_env morph deploy default.nix switch --keep-result --upload-secrets $(MORPH_ARGS) |
60 | nix-env -p $(PROFILE) --set .gcroots/default.nix | 60 | nix-env -p $(PROFILE) --set .gcroots/default.nix |
61 | 61 | ||
62 | next-boot: | ||
63 | ./scripts/with_env morph deploy default.nix boot --keep-result --upload-secrets $(MORPH_ARGS) | ||
64 | nix-env -p $(PROFILE) --set .gcroots/default.nix | ||
65 | |||
62 | deploy-reboot: | 66 | deploy-reboot: |
63 | ./scripts/with_env morph deploy default.nix boot --reboot --upload-secrets $(MORPH_ARGS) | 67 | ./scripts/with_env morph deploy default.nix boot --reboot --upload-secrets $(MORPH_ARGS) |
64 | 68 | ||