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/df-ymf.nix | |
parent | 16422d280959808aff1670a066788e98049f42b7 (diff) | |
download | nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.tar.gz nixcfg-c08bc17cc0ca37557a4b43f3ef2e1bcf8a1db2c0.zip |
Adapt prod config to new parameters
Diffstat (limited to 'cluster/prod/node/df-ymf.nix')
-rw-r--r-- | cluster/prod/node/df-ymf.nix | 11 |
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"; |