From 177265b4f1cb82e8689ac6b004776241173f8476 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Thu, 28 Nov 2024 21:26:54 +0100 Subject: Ajout noeud pasteque --- cluster/prod/cluster.nix | 6 ++++++ cluster/prod/node/pasteque.nix | 14 ++++++++++++++ cluster/prod/node/pasteque.site.nix | 1 + 3 files changed, 21 insertions(+) create mode 100644 cluster/prod/node/pasteque.nix create mode 120000 cluster/prod/node/pasteque.site.nix diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix index ff4e4b5..7624121 100644 --- a/cluster/prod/cluster.nix +++ b/cluster/prod/cluster.nix @@ -105,6 +105,12 @@ address = "10.83.6.1"; endpoint = "45.81.62.36:33731"; }; + "pasteque" = { + siteName = "corrin"; + publicKey = "7vPq0z6JVxTLEebasUlR5Uu4dAFZxfddhjWtIYhCoXw="; + address = "10.83.6.2"; + endpoint = "45.81.62.36:33732"; + }; }; # Pin Nomad version diff --git a/cluster/prod/node/pasteque.nix b/cluster/prod/node/pasteque.nix new file mode 100644 index 0000000..98cd2e6 --- /dev/null +++ b/cluster/prod/node/pasteque.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 = "pasteque"; + deuxfleurs.staticIPv4.address = "192.168.5.202"; + deuxfleurs.staticIPv6.address = "2001:912:1ac0:2200::202"; +} diff --git a/cluster/prod/node/pasteque.site.nix b/cluster/prod/node/pasteque.site.nix new file mode 120000 index 0000000..0a97c41 --- /dev/null +++ b/cluster/prod/node/pasteque.site.nix @@ -0,0 +1 @@ +../site/corrin.nix \ No newline at end of file -- cgit v1.2.3