aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
authorJill <kokakiwi@deuxfleurs.fr>2024-07-02 09:41:08 +0000
committerJill <kokakiwi@deuxfleurs.fr>2024-07-02 09:41:08 +0000
commit98feb96d2766e76fdcac45b82af84d3c2baddd86 (patch)
tree5c14074ae43d4aef923a496ccf2310bfaa03acae /cluster/prod
parentfa510688d770884e7059596a89e7bc761f9e2586 (diff)
parent76186c3fb328b24d89aa59586308fd49a7419b48 (diff)
downloadnixcfg-98feb96d2766e76fdcac45b82af84d3c2baddd86.tar.gz
nixcfg-98feb96d2766e76fdcac45b82af84d3c2baddd86.zip
Merge pull request 'dathomir: Updates' (#29) from KokaKiwi/nixcfg:dathomir-update into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/29 Reviewed-by: maximilien <me@mricher.fr>
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