aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/node/df-ymf.nix
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-05-16 13:19:33 +0000
committerAlex <alex@adnab.me>2023-05-16 13:19:33 +0000
commitaee3a0947112f3eb37f662dd97831954075184fd (patch)
tree9c3a8eebb53dd16d500b2e54341a8a9e50af5225 /cluster/prod/node/df-ymf.nix
parent2488ad0ac296732eb7c3c9c3bc28e1e73f5b06bc (diff)
parent76b7f86d228ae0bb236050e6381723136de2250e (diff)
downloadnixcfg-aee3a0947112f3eb37f662dd97831954075184fd.tar.gz
nixcfg-aee3a0947112f3eb37f662dd97831954075184fd.zip
Merge pull request 'Simplify network configuration' (#11) from simplify-network-config into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/11
Diffstat (limited to 'cluster/prod/node/df-ymf.nix')
-rw-r--r--cluster/prod/node/df-ymf.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/cluster/prod/node/df-ymf.nix b/cluster/prod/node/df-ymf.nix
index 15c5b1e..df2ebb3 100644
--- a/cluster/prod/node/df-ymf.nix
+++ b/cluster/prod/node/df-ymf.nix
@@ -7,14 +7,9 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
- networking.hostName = "df-ymf";
-
- deuxfleurs.network_interface = "enp0s31f6";
- deuxfleurs.lan_ip = "192.168.5.134";
- deuxfleurs.ipv6 = "2a02:a03f:6510:5102:6e4b:90ff:fe3a:6174";
-
- deuxfleurs.cluster_ip = "10.83.3.2";
- deuxfleurs.is_raft_server = false;
+ deuxfleurs.hostName = "df-ymf";
+ deuxfleurs.staticIPv4.address = "192.168.5.134";
+ deuxfleurs.staticIPv6.address = "2a02:a03f:6510:5102:6e4b:90ff:fe3a:6174";
fileSystems."/mnt" = {
device = "/dev/disk/by-uuid/fec20a7e-5019-4747-8f73-77f3f196c122";