aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/dahlia.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-08-23 22:13:26 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-08-23 22:13:26 +0200
commit88d57f8e34e1124a4f3abcc82f7ab3d54d5727d2 (patch)
treebc0cbddcb02d522c64164f1ae29ea0b04af1c9ad /cluster/prod/node/dahlia.nix
parent5994e41ad1fdba931ae488d8e0efb13f3e505c18 (diff)
downloadnixcfg-88d57f8e34e1124a4f3abcc82f7ab3d54d5727d2.tar.gz
nixcfg-88d57f8e34e1124a4f3abcc82f7ab3d54d5727d2.zip
Add new cluster nodes
Diffstat (limited to 'cluster/prod/node/dahlia.nix')
-rw-r--r--cluster/prod/node/dahlia.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/cluster/prod/node/dahlia.nix b/cluster/prod/node/dahlia.nix
new file mode 100644
index 0000000..9b3a15c
--- /dev/null
+++ b/cluster/prod/node/dahlia.nix
@@ -0,0 +1,18 @@
+# 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;
+
+ networking.hostName = "dahlia";
+
+ deuxfleurs.network_interface = "enp0s31f6";
+ deuxfleurs.lan_ip = "192.168.1.11";
+ deuxfleurs.ipv6 = "2a01:e0a:28f:5e60::11";
+
+ deuxfleurs.cluster_ip = "10.1.1.1";
+ deuxfleurs.is_raft_server = true;
+}