From 435cbeebfb93f988ef469fe0b037662c49795946 Mon Sep 17 00:00:00 2001 From: KokaKiwi Date: Sun, 26 May 2024 18:24:28 +0200 Subject: cluster(prod): Add oseille --- cluster/prod/cluster.nix | 6 ++++++ cluster/prod/known_hosts | 1 + cluster/prod/node/oseille.nix | 10 ++++++++++ cluster/prod/node/oseille.site.nix | 1 + cluster/prod/ssh_config | 3 +++ 5 files changed, 21 insertions(+) create mode 100644 cluster/prod/node/oseille.nix create mode 120000 cluster/prod/node/oseille.site.nix diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix index bc53aa0..c5008e6 100644 --- a/cluster/prod/cluster.nix +++ b/cluster/prod/cluster.nix @@ -81,6 +81,12 @@ address = "10.83.5.1"; endpoint = "82.64.238.84:33740"; }; + "oseille" = { + siteName = "dathomir"; + publicKey = "T87GzAQt02i00iOMbEm7McA/VL9OBrG/kCrgoNh5MmY="; + address = "10.83.5.2"; + endpoint = "82.64.238.84:33741"; + }; "io" = { siteName = "dathomir"; publicKey = "3+VvWJtABOAd6zUCMROhqGbNtkQRtoIkVmYn0M81jQw="; diff --git a/cluster/prod/known_hosts b/cluster/prod/known_hosts index d6959ae..3b6bf7f 100644 --- a/cluster/prod/known_hosts +++ b/cluster/prod/known_hosts @@ -10,4 +10,5 @@ courgette.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPCXJeo6yeQe abricot.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPhHUQtc5lukPMFkiWf/sTgaUpwNFXHCJoQKu4ooRFy+ ananas.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHs0zAyBy70oyV56qaMaMAKR7VjEDnsm5LEyZJbM95BL 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 diff --git a/cluster/prod/node/oseille.nix b/cluster/prod/node/oseille.nix new file mode 100644 index 0000000..5c68121 --- /dev/null +++ b/cluster/prod/node/oseille.nix @@ -0,0 +1,10 @@ +{ ... }: +{ + boot.loader.systemd-boot.enable = true; + boot.loader.timeout = 20; + boot.loader.efi.canTouchEfiVariables = true; + + deuxfleurs.hostName = "oseille"; + deuxfleurs.staticIPv4.address = "192.168.1.35"; + deuxfleurs.staticIPv6.address = "2a01:e0a:5e4:1d0:223:24ff:feaf:f90b"; +} diff --git a/cluster/prod/node/oseille.site.nix b/cluster/prod/node/oseille.site.nix new file mode 120000 index 0000000..5e41391 --- /dev/null +++ b/cluster/prod/node/oseille.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 6198c40..d7aeafd 100644 --- a/cluster/prod/ssh_config +++ b/cluster/prod/ssh_config @@ -36,5 +36,8 @@ Host ananas Host onion HostName onion.machine.deuxfleurs.fr +Host oseille + HostName oseille.machine.deuxfleurs.fr + Host io HostName io.machine.deuxfleurs.fr -- cgit v1.2.3