aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/node
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-11 22:37:28 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-11 22:37:28 +0100
commit578075a9252435aaed12d2535577e18e053cd916 (patch)
treec441183d35ae1c23e30abd722322124d87f03136 /cluster/staging/node
parent36e6756b3c72c3170255a9676ab3cf6f08eb1218 (diff)
downloadnixcfg-578075a9252435aaed12d2535577e18e053cd916.tar.gz
nixcfg-578075a9252435aaed12d2535577e18e053cd916.zip
Add origan node in staging cluster (+ refactor system.stateVersion)
Diffstat (limited to 'cluster/staging/node')
-rw-r--r--cluster/staging/node/carcajou.nix2
-rw-r--r--cluster/staging/node/cariacou.nix2
-rw-r--r--cluster/staging/node/caribou.nix2
-rw-r--r--cluster/staging/node/origan.nix24
l---------cluster/staging/node/origan.site.nix1
5 files changed, 31 insertions, 0 deletions
diff --git a/cluster/staging/node/carcajou.nix b/cluster/staging/node/carcajou.nix
index b6d15df..0ec2582 100644
--- a/cluster/staging/node/carcajou.nix
+++ b/cluster/staging/node/carcajou.nix
@@ -21,4 +21,6 @@
deuxfleurs.cluster_ip = "10.14.1.2";
deuxfleurs.is_raft_server = true;
+
+ system.stateVersion = "21.05";
}
diff --git a/cluster/staging/node/cariacou.nix b/cluster/staging/node/cariacou.nix
index 61d3f28..d8fe564 100644
--- a/cluster/staging/node/cariacou.nix
+++ b/cluster/staging/node/cariacou.nix
@@ -21,4 +21,6 @@
deuxfleurs.cluster_ip = "10.14.1.1";
deuxfleurs.is_raft_server = true;
+
+ system.stateVersion = "21.05";
}
diff --git a/cluster/staging/node/caribou.nix b/cluster/staging/node/caribou.nix
index 65168a9..af46273 100644
--- a/cluster/staging/node/caribou.nix
+++ b/cluster/staging/node/caribou.nix
@@ -19,4 +19,6 @@
# Open SSB port
networking.firewall.allowedTCPPorts = [ 8008 ];
+
+ system.stateVersion = "21.05";
}
diff --git a/cluster/staging/node/origan.nix b/cluster/staging/node/origan.nix
new file mode 100644
index 0000000..3085cca
--- /dev/null
+++ b/cluster/staging/node/origan.nix
@@ -0,0 +1,24 @@
+# Configuration file local to this node
+
+{ config, pkgs, ... }:
+
+{
+ # Use the systemd-boot EFI boot loader.
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.timeout = 20;
+ boot.loader.efi.canTouchEfiVariables = true;
+
+ networking.hostName = "origan";
+
+ deuxfleurs.network_interface = "eno1";
+ deuxfleurs.lan_ip = "192.168.1.33";
+ deuxfleurs.ipv6 = "2a01:e0a:5e4:1d0:223:24ff:feaf:fdec";
+
+ deuxfleurs.cluster_ip = "10.14.2.33";
+ deuxfleurs.is_raft_server = false;
+
+ # Open SSB port
+ networking.firewall.allowedTCPPorts = [ 8008 ];
+
+ system.stateVersion = "22.11";
+}
diff --git a/cluster/staging/node/origan.site.nix b/cluster/staging/node/origan.site.nix
new file mode 120000
index 0000000..7cdd625
--- /dev/null
+++ b/cluster/staging/node/origan.site.nix
@@ -0,0 +1 @@
+../site/jupiter.nix \ No newline at end of file