X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2FMakefile;h=02d34f80094c7a4efdb1be52eaec50b596b99193;hb=2caad8900d036e6a7dbd52bac2f10fd0dd4c6c79;hp=5e654ee23d8542358fa14142ec041fd82d9216a7;hpb=b22ce4895ef1e9723a02061f7293e528cfbf9754;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/Makefile b/nixops/Makefile index 5e654ee..02d34f8 100644 --- a/nixops/Makefile +++ b/nixops/Makefile @@ -36,6 +36,9 @@ ssh-eldiron: ssh-backup-2: $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS) +ssh-monitoring-1: + $(NIXOPS_PRIV) ssh monitoring-1 -- $(SSH_ARGS) + info: $(NIXOPS_PRIV) list $(NIXOPS_PRIV) info @@ -74,11 +77,15 @@ list-generations: delete-generations: nix-env -p $(profile) --delete-generations $(GEN) $(NIXOPS_PRIV) ssh eldiron -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) + $(NIXOPS_PRIV) ssh backup-2 -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) + $(NIXOPS_PRIV) ssh monitoring-1 -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) .PHONY: delete-generations cleanup: delete-generations nix-store --gc $(NIXOPS_PRIV) ssh eldiron -- nix-store --gc + $(NIXOPS_PRIV) ssh backup-2 -- nix-store --gc + $(NIXOPS_PRIV) ssh monitoring-1 -- nix-store --gc .PHONY: cleanup ###### Pull environment and deployment from remote