X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2FMakefile;h=f3d06efdbb0d33036e41975eb4707bc13d4a586c;hb=dfe02d8fd52e33c7d4e1a209cf486696100b88f3;hp=f232e8a73c9d52020e7a15948c2f92b24222f13a;hpb=0c67c58418d0b69135109765226e31137bd13c0a;p=perso%2FImmae%2FConfig%2FNix.git 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)