aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/doradille.nix
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/node/doradille.nix')
-rw-r--r--cluster/prod/node/doradille.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/cluster/prod/node/doradille.nix b/cluster/prod/node/doradille.nix
new file mode 100644
index 0000000..fcad10d
--- /dev/null
+++ b/cluster/prod/node/doradille.nix
@@ -0,0 +1,19 @@
+# Configuration file local to this node
+
+{ config, pkgs, ... }:
+
+{
+ # Use the GRUB 2 boot loader.
+ boot.loader.grub.enable = true;
+ boot.loader.grub.version = 2;
+ boot.loader.grub.device = "/dev/nvme0n1"; # or "nodev" for efi only
+
+ networking.hostName = "doradille";
+
+ deuxfleurs.network_interface = "enp0s31f6";
+ deuxfleurs.lan_ip = "192.168.1.13";
+ deuxfleurs.ipv6 = "2a01:e0a:28f:5e60::13";
+
+ deuxfleurs.cluster_ip = "10.1.1.3";
+ deuxfleurs.is_raft_server = true;
+}