]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/Makefile
Completely remove immae.eu
[perso/Immae/Config/Nix.git] / nixops / Makefile
index 5e654ee23d8542358fa14142ec041fd82d9216a7..1852e7510c1754b9c7bb8092df3c5358d27e3aa3 100644 (file)
@@ -33,9 +33,15 @@ 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)
 
+ssh-monitoring-1:
+       $(NIXOPS_PRIV) ssh monitoring-1 -- $(SSH_ARGS)
+
 info:
        $(NIXOPS_PRIV) list
        $(NIXOPS_PRIV) info
@@ -74,11 +80,17 @@ 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
 
 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
 
 ###### Pull environment and deployment from remote