diff options
author | Alex Auvolat <alex@adnab.me> | 2023-04-05 14:06:59 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-04-05 14:09:04 +0200 |
commit | c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0 (patch) | |
tree | 407c7222203b29ed4a10545de38a1eafb8d46a73 /cluster/prod/node/dahlia.nix | |
parent | 16422d280959808aff1670a066788e98049f42b7 (diff) | |
download | nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.tar.gz nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.zip |
Adapt prod config to new parameters
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; } |