X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=nixops%2FMakefile;h=1852e7510c1754b9c7bb8092df3c5358d27e3aa3;hp=02d34f80094c7a4efdb1be52eaec50b596b99193;hb=8a304ef46e1ad221253f883a8a296a12018e3d30;hpb=cf2a9330da390784168ac758b8d4da41855809d9 diff --git a/nixops/Makefile b/nixops/Makefile index 02d34f8..1852e75 100644 --- a/nixops/Makefile +++ b/nixops/Makefile @@ -33,6 +33,9 @@ SSH_ARGS ?= ssh-eldiron: $(NIXOPS_PRIV) ssh eldiron -- $(SSH_ARGS) +ssh-dilion: + $(NIXOPS_PRIV) ssh dilion -- $(SSH_ARGS) + ssh-backup-2: $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS) @@ -77,6 +80,7 @@ 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 dilion -- 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 @@ -84,6 +88,7 @@ delete-generations: cleanup: delete-generations nix-store --gc $(NIXOPS_PRIV) ssh eldiron -- nix-store --gc + $(NIXOPS_PRIV) ssh dilion -- nix-store --gc $(NIXOPS_PRIV) ssh backup-2 -- nix-store --gc $(NIXOPS_PRIV) ssh monitoring-1 -- nix-store --gc .PHONY: cleanup