aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/node
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-04 10:02:21 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-04 10:02:21 +0100
commit26f78872e6d94671381c2b199c643e43a81b8b7f (patch)
treec028c802a192a1b86c1d487d688cd4b1cda565f5 /cluster/staging/node
parentc11b6499b8ff35c5a6468cc1e4adb474ea72a963 (diff)
downloadnixcfg-26f78872e6d94671381c2b199c643e43a81b8b7f.tar.gz
nixcfg-26f78872e6d94671381c2b199c643e43a81b8b7f.zip
staging: add node df-pw5 at bespin
Diffstat (limited to 'cluster/staging/node')
-rw-r--r--cluster/staging/node/df-pw5.nix20
l---------cluster/staging/node/df-pw5.site.nix1
2 files changed, 21 insertions, 0 deletions
diff --git a/cluster/staging/node/df-pw5.nix b/cluster/staging/node/df-pw5.nix
new file mode 100644
index 0000000..33888d6
--- /dev/null
+++ b/cluster/staging/node/df-pw5.nix
@@ -0,0 +1,20 @@
+# Configuration file local to this node
+
+{ config, pkgs, ... }:
+
+{
+ # Use the systemd-boot EFI boot loader.
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.efi.canTouchEfiVariables = true;
+ boot.loader.efi.efiSysMountPoint = "/boot";
+ boot.loader.timeout = 20;
+
+ networking.hostName = "df-pw5";
+
+ deuxfleurs.network_interface = "eno1";
+ deuxfleurs.lan_ip = "192.168.5.130";
+ deuxfleurs.ipv6 = "2a02:a03f:6510:5102:223:24ff:feb0:e8a7";
+
+ deuxfleurs.cluster_ip = "10.14.4.1";
+ deuxfleurs.is_raft_server = false;
+}
diff --git a/cluster/staging/node/df-pw5.site.nix b/cluster/staging/node/df-pw5.site.nix
new file mode 120000
index 0000000..24a1723
--- /dev/null
+++ b/cluster/staging/node/df-pw5.site.nix
@@ -0,0 +1 @@
+../site/bespin.nix \ No newline at end of file