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