aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/abricot.nix
diff options
context:
space:
mode:
authorAdrien <adrien@luxeylab.net>2023-03-15 17:30:35 +0100
committerAdrien <adrien@luxeylab.net>2023-03-15 17:30:35 +0100
commitf6c4576b6c8b45f1389498e4c8437d659a780a17 (patch)
tree78324cdd4713798f873bdbc1c7f24fdf6dababbc /cluster/prod/node/abricot.nix
parent85595a9205657dedc31ab23ce7f48e9150dc8b14 (diff)
downloadnixcfg-f6c4576b6c8b45f1389498e4c8437d659a780a17.tar.gz
nixcfg-f6c4576b6c8b45f1389498e4c8437d659a780a17.zip
added forgotten new files for scorpio/abricot
Diffstat (limited to 'cluster/prod/node/abricot.nix')
-rw-r--r--cluster/prod/node/abricot.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/cluster/prod/node/abricot.nix b/cluster/prod/node/abricot.nix
new file mode 100644
index 0000000..b092fb2
--- /dev/null
+++ b/cluster/prod/node/abricot.nix
@@ -0,0 +1,19 @@
+# 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;
+
+ networking.hostName = "abricot";
+
+ deuxfleurs.network_interface = "eno1";
+ deuxfleurs.lan_ip = "192.168.1.41";
+ deuxfleurs.ipv6 = "2a01:e0a:e4:2dd0::41";
+
+ deuxfleurs.cluster_ip = "10.83.4.1";
+ deuxfleurs.is_raft_server = false;
+}