aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/df-ykl.nix
diff options
context:
space:
mode:
authormricher <maximilien.richer@gmail.com>2022-10-16 11:09:30 +0200
committerGitea <gitea@fake.local>2022-10-16 14:17:12 +0000
commit6bafa20bf671f1625c3306a355c8d6b3ccae39d4 (patch)
tree7c38a96b9ee549e57f0e569902768aa505bdc242 /cluster/prod/node/df-ykl.nix
parent38a544d9c45a7c6ce682d8677e52f022d9547177 (diff)
downloadnixcfg-6bafa20bf671f1625c3306a355c8d6b3ccae39d4.tar.gz
nixcfg-6bafa20bf671f1625c3306a355c8d6b3ccae39d4.zip
Add bespin machines
Diffstat (limited to 'cluster/prod/node/df-ykl.nix')
-rw-r--r--cluster/prod/node/df-ykl.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/cluster/prod/node/df-ykl.nix b/cluster/prod/node/df-ykl.nix
new file mode 100644
index 0000000..e2eb796
--- /dev/null
+++ b/cluster/prod/node/df-ykl.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 = "df-ykl";
+
+ deuxfleurs.network_interface = "enp0s31f6";
+ deuxfleurs.lan_ip = "192.168.5.117";
+ deuxfleurs.ipv6 = "2a02:a03f:6510:5102:6e4b:90ff:fe3b:e86c";
+
+ deuxfleurs.cluster_ip = "10.83.3.1";
+ deuxfleurs.is_raft_server = true;
+}