diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix index ddb9813..247e83b 100644 --- a/cluster/prod/cluster.nix +++ b/cluster/prod/cluster.nix @@ -99,6 +99,12 @@ address = "10.83.5.4"; endpoint = "82.64.238.84:33743"; }; + "pamplemousse" = { + siteName = "corrin"; + publicKey = "6y5GrNXEql12AObuSfOHGxxUKpdlcyapu+juLYOEBhc="; + address = "10.83.6.1"; + endpoint = "45.81.62.36:33731"; + }; }; # Pin Nomad version diff --git a/cluster/prod/known_hosts b/cluster/prod/known_hosts index 3475b9d..c167b84 100644 --- a/cluster/prod/known_hosts +++ b/cluster/prod/known_hosts @@ -13,3 +13,4 @@ onion.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINjBQ67fxwuDDzRP 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 +pamplemousse.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAI0M5qny9yQ6LNzWqPfSlOWwTYpvxQtuSpFiOb6aVtA diff --git a/cluster/prod/node/pamplemousse.nix b/cluster/prod/node/pamplemousse.nix new file mode 100644 index 0000000..00ab784 --- /dev/null +++ b/cluster/prod/node/pamplemousse.nix @@ -0,0 +1,14 @@ +# Configuration file local to this node + +{ config, pkgs, ... }: + +{ + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.timeout = 5; + boot.loader.efi.canTouchEfiVariables = true; + + deuxfleurs.hostName = "pamplemousse"; + deuxfleurs.staticIPv4.address = "192.168.5.201"; + deuxfleurs.staticIPv6.address = "2001:912:1ac0:2200::201"; +} diff --git a/cluster/prod/node/pamplemousse.site.nix b/cluster/prod/node/pamplemousse.site.nix new file mode 120000 index 0000000..0a97c41 --- /dev/null +++ b/cluster/prod/node/pamplemousse.site.nix @@ -0,0 +1 @@ +../site/corrin.nix \ No newline at end of file diff --git a/cluster/prod/site/corrin.nix b/cluster/prod/site/corrin.nix new file mode 100644 index 0000000..f400bee --- /dev/null +++ b/cluster/prod/site/corrin.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: + +{ + deuxfleurs.siteName = "corrin"; + deuxfleurs.staticIPv4.defaultGateway = "192.168.5.1"; + deuxfleurs.cnameTarget = "corrin.site.deuxfleurs.fr."; + deuxfleurs.publicIPv4 = "45.81.62.36"; +} diff --git a/cluster/prod/ssh_config b/cluster/prod/ssh_config index 62517d2..286515a 100644 --- a/cluster/prod/ssh_config +++ b/cluster/prod/ssh_config @@ -44,3 +44,6 @@ Host io Host ortie HostName ortie.machine.deuxfleurs.fr + +Host pamplemousse + HostName pamplemousse.machine.deuxfleurs.fr