aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-11-28 21:26:54 +0100
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-11-28 21:50:19 +0100
commit177265b4f1cb82e8689ac6b004776241173f8476 (patch)
tree6f485c12c3a18316f07e6131f3d85bb6e9a3e4de
parent412f4018f9434be71def102b68883adb92dd5074 (diff)
downloadnixcfg-177265b4f1cb82e8689ac6b004776241173f8476.tar.gz
nixcfg-177265b4f1cb82e8689ac6b004776241173f8476.zip
Ajout noeud pasteque
-rw-r--r--cluster/prod/cluster.nix6
-rw-r--r--cluster/prod/node/pasteque.nix14
l---------cluster/prod/node/pasteque.site.nix1
3 files changed, 21 insertions, 0 deletions
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