diff options
author | Alex <alex@adnab.me> | 2023-05-16 13:19:33 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-05-16 13:19:33 +0000 |
commit | aee3a0947112f3eb37f662dd97831954075184fd (patch) | |
tree | 9c3a8eebb53dd16d500b2e54341a8a9e50af5225 /cluster/prod/node/dahlia.nix | |
parent | 2488ad0ac296732eb7c3c9c3bc28e1e73f5b06bc (diff) | |
parent | 76b7f86d228ae0bb236050e6381723136de2250e (diff) | |
download | nixcfg-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/dahlia.nix')
-rw-r--r-- | cluster/prod/node/dahlia.nix | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cluster/prod/node/dahlia.nix b/cluster/prod/node/dahlia.nix index fc51ea8..ee9e7aa 100644 --- a/cluster/prod/node/dahlia.nix +++ b/cluster/prod/node/dahlia.nix @@ -7,12 +7,8 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "dahlia"; - - deuxfleurs.network_interface = "enp0s31f6"; - deuxfleurs.lan_ip = "192.168.1.11"; - deuxfleurs.ipv6 = "2a01:e0a:28f:5e60::11"; - - deuxfleurs.cluster_ip = "10.83.2.1"; - deuxfleurs.is_raft_server = true; + deuxfleurs.hostName = "dahlia"; + deuxfleurs.staticIPv4.address = "192.168.1.11"; + deuxfleurs.staticIPv6.address = "2a01:e0a:28f:5e60::11"; + deuxfleurs.isRaftServer = true; } |