From 8a304ef46e1ad221253f883a8a296a12018e3d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 10 Feb 2020 18:15:23 +0100 Subject: Add dilion server --- nixops/Makefile | 5 +++++ nixops/default.nix | 1 + 2 files changed, 6 insertions(+) (limited to 'nixops') 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 diff --git a/nixops/default.nix b/nixops/default.nix index 5f4f4d2..56b86e8 100644 --- a/nixops/default.nix +++ b/nixops/default.nix @@ -7,6 +7,7 @@ # Used by hetzner cloud to provision machines resources.sshKeyPairs.ssh-key = {}; + dilion = import ../modules/private/system/dilion.nix { inherit privateFiles; }; eldiron = import ../modules/private/system/eldiron.nix { inherit privateFiles; }; backup-2 = import ../modules/private/system/backup-2.nix { inherit privateFiles; }; monitoring-1 = import ../modules/private/system/monitoring-1.nix { inherit privateFiles; }; -- cgit v1.2.3