aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/node')
-rw-r--r--cluster/prod/node/ananas.nix15
l---------cluster/prod/node/ananas.site.nix1
-rw-r--r--cluster/prod/node/dahlia.nix1
3 files changed, 16 insertions, 1 deletions
diff --git a/cluster/prod/node/ananas.nix b/cluster/prod/node/ananas.nix
new file mode 100644
index 0000000..50ee3d5
--- /dev/null
+++ b/cluster/prod/node/ananas.nix
@@ -0,0 +1,15 @@
+# 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;
+
+ deuxfleurs.hostName = "ananas";
+ deuxfleurs.staticIPv4.address = "192.168.1.42";
+ deuxfleurs.staticIPv6.address = "2a01:e0a:e4:2dd0::42";
+ deuxfleurs.isRaftServer = true;
+}
diff --git a/cluster/prod/node/ananas.site.nix b/cluster/prod/node/ananas.site.nix
new file mode 120000
index 0000000..a549793
--- /dev/null
+++ b/cluster/prod/node/ananas.site.nix
@@ -0,0 +1 @@
+../site/scorpio.nix \ No newline at end of file
diff --git a/cluster/prod/node/dahlia.nix b/cluster/prod/node/dahlia.nix
index ee9e7aa..121a34d 100644
--- a/cluster/prod/node/dahlia.nix
+++ b/cluster/prod/node/dahlia.nix
@@ -10,5 +10,4 @@
deuxfleurs.hostName = "dahlia";
deuxfleurs.staticIPv4.address = "192.168.1.11";
deuxfleurs.staticIPv6.address = "2a01:e0a:28f:5e60::11";
- deuxfleurs.isRaftServer = true;
}