aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod')
-rw-r--r--cluster/prod/cluster.nix6
-rw-r--r--cluster/prod/known_hosts1
-rw-r--r--cluster/prod/node/ortie.nix12
l---------cluster/prod/node/ortie.site.nix1
-rw-r--r--cluster/prod/ssh_config3
5 files changed, 23 insertions, 0 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix
index c5008e6..ddb9813 100644
--- a/cluster/prod/cluster.nix
+++ b/cluster/prod/cluster.nix
@@ -93,6 +93,12 @@
address = "10.83.5.3";
endpoint = "82.64.238.84:33742";
};
+ "ortie" = {
+ siteName = "dathomir";
+ publicKey = "tbx2mvt3TN3Xd+ermwwZ6it80VWT5949cKH9BRFgvzE=";
+ address = "10.83.5.4";
+ endpoint = "82.64.238.84:33743";
+ };
};
# Pin Nomad version
diff --git a/cluster/prod/known_hosts b/cluster/prod/known_hosts
index 3b6bf7f..3475b9d 100644
--- a/cluster/prod/known_hosts
+++ b/cluster/prod/known_hosts
@@ -12,3 +12,4 @@ ananas.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHs0zAyBy70oyV5
onion.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINjBQ67fxwuDDzRPveTko/Sgf0cev3tIvlr3CfAmhF0C
oseille.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAgQdQ5UVFFn+DXN90ut9+V7NtEopQJnES3r8soKTZW4
io.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIvgCJ7Jew7ou1RZuaT41Sd+ucZAgxUwtdieqNqoC3+T
+ortie.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMqtfIPLk8a5tM6Upj7GQwlIS16nBPrZYVXE2FVlO2Yn
diff --git a/cluster/prod/node/ortie.nix b/cluster/prod/node/ortie.nix
new file mode 100644
index 0000000..e71e8d3
--- /dev/null
+++ b/cluster/prod/node/ortie.nix
@@ -0,0 +1,12 @@
+{ ... }:
+{
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.timeout = 20;
+ boot.loader.efi.canTouchEfiVariables = true;
+
+ services.openssh.ports = [ 22 33604 ];
+
+ deuxfleurs.hostName = "ortie";
+ deuxfleurs.staticIPv4.address = "192.168.1.37";
+ deuxfleurs.staticIPv6.address = "2a01:e0a:5e4:1d0:223:24ff:feb0:1b9";
+}
diff --git a/cluster/prod/node/ortie.site.nix b/cluster/prod/node/ortie.site.nix
new file mode 120000
index 0000000..5e41391
--- /dev/null
+++ b/cluster/prod/node/ortie.site.nix
@@ -0,0 +1 @@
+../site/dathomir.nix \ No newline at end of file
diff --git a/cluster/prod/ssh_config b/cluster/prod/ssh_config
index d7aeafd..62517d2 100644
--- a/cluster/prod/ssh_config
+++ b/cluster/prod/ssh_config
@@ -41,3 +41,6 @@ Host oseille
Host io
HostName io.machine.deuxfleurs.fr
+
+Host ortie
+ HostName ortie.machine.deuxfleurs.fr