aboutsummaryrefslogtreecommitdiff
path: root/nixops/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/Makefile')
-rw-r--r--nixops/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixops/Makefile b/nixops/Makefile
index 5e654ee..02d34f8 100644
--- a/nixops/Makefile
+++ b/nixops/Makefile
@@ -36,6 +36,9 @@ ssh-eldiron:
36ssh-backup-2: 36ssh-backup-2:
37 $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS) 37 $(NIXOPS_PRIV) ssh backup-2 -- $(SSH_ARGS)
38 38
39ssh-monitoring-1:
40 $(NIXOPS_PRIV) ssh monitoring-1 -- $(SSH_ARGS)
41
39info: 42info:
40 $(NIXOPS_PRIV) list 43 $(NIXOPS_PRIV) list
41 $(NIXOPS_PRIV) info 44 $(NIXOPS_PRIV) info
@@ -74,11 +77,15 @@ list-generations:
74delete-generations: 77delete-generations:
75 nix-env -p $(profile) --delete-generations $(GEN) 78 nix-env -p $(profile) --delete-generations $(GEN)
76 $(NIXOPS_PRIV) ssh eldiron -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN) 79 $(NIXOPS_PRIV) ssh eldiron -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN)
80 $(NIXOPS_PRIV) ssh backup-2 -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN)
81 $(NIXOPS_PRIV) ssh monitoring-1 -- nix-env -p /nix/var/nix/profiles/system --delete-generations $(GEN)
77.PHONY: delete-generations 82.PHONY: delete-generations
78 83
79cleanup: delete-generations 84cleanup: delete-generations
80 nix-store --gc 85 nix-store --gc
81 $(NIXOPS_PRIV) ssh eldiron -- nix-store --gc 86 $(NIXOPS_PRIV) ssh eldiron -- nix-store --gc
87 $(NIXOPS_PRIV) ssh backup-2 -- nix-store --gc
88 $(NIXOPS_PRIV) ssh monitoring-1 -- nix-store --gc
82.PHONY: cleanup 89.PHONY: cleanup
83 90
84###### Pull environment and deployment from remote 91###### Pull environment and deployment from remote