aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/ananas.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-06-12 13:41:34 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-12 13:41:34 +0200
commite06d6b14a318fcaa737f9c61aa8eecd24eecd2c0 (patch)
tree7bac9f9028b3324fdf559cf702b9ce2e1970f239 /cluster/prod/node/ananas.nix
parente71ca8fe11f51f1aaae770386565cafbdc8ec512 (diff)
downloadnixcfg-e06d6b14a318fcaa737f9c61aa8eecd24eecd2c0.tar.gz
nixcfg-e06d6b14a318fcaa737f9c61aa8eecd24eecd2c0.zip
add ananas, set it raft server instead of dahlia
Diffstat (limited to 'cluster/prod/node/ananas.nix')
-rw-r--r--cluster/prod/node/ananas.nix15
1 files changed, 15 insertions, 0 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;
+}