diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-04 17:38:54 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-04 17:38:54 +0200 |
commit | 3df47c8440a3b5645733184f72cc4c2f1a46587f (patch) | |
tree | 1bcb53842e26f117dce7339afb8999bc49b8e0a3 /cluster/prod/node | |
parent | 72ed2517a9a49352ff97473010892fc54490cd60 (diff) | |
download | nixcfg-3df47c8440a3b5645733184f72cc4c2f1a46587f.tar.gz nixcfg-3df47c8440a3b5645733184f72cc4c2f1a46587f.zip |
Configuration for prod to run on Wesher & other new stuff
Diffstat (limited to 'cluster/prod/node')
-rw-r--r-- | cluster/prod/node/celeri.nix | 14 | ||||
-rw-r--r-- | cluster/prod/node/concombre.nix | 14 | ||||
-rw-r--r-- | cluster/prod/node/courgette.nix | 14 |
3 files changed, 6 insertions, 36 deletions
diff --git a/cluster/prod/node/celeri.nix b/cluster/prod/node/celeri.nix index 02a33c9..9317de4 100644 --- a/cluster/prod/node/celeri.nix +++ b/cluster/prod/node/celeri.nix @@ -12,18 +12,8 @@ deuxfleurs.network_interface = "eno1"; deuxfleurs.lan_ip = "192.168.1.33"; + deuxfleurs.ipv6 = "2a01:e0a:c:a720::33"; - networking.interfaces.eno1.ipv6.addresses = [ - { - address = "2a01:e0a:c:a720::33"; - prefixLength = 64; - } - ]; - - deuxfleurs.vpn_ip = "10.42.1.33"; - deuxfleurs.vpn_listen_port = 33733; + deuxfleurs.cluster_ip = "10.83.12.147"; deuxfleurs.is_raft_server = true; - - # Enable netdata monitoring - services.netdata.enable = true; } diff --git a/cluster/prod/node/concombre.nix b/cluster/prod/node/concombre.nix index 517dcf8..c38e89d 100644 --- a/cluster/prod/node/concombre.nix +++ b/cluster/prod/node/concombre.nix @@ -12,18 +12,8 @@ deuxfleurs.network_interface = "eno1"; deuxfleurs.lan_ip = "192.168.1.31"; + deuxfleurs.ipv6 = "2a01:e0a:c:a720::31"; - networking.interfaces.eno1.ipv6.addresses = [ - { - address = "2a01:e0a:c:a720::31"; - prefixLength = 64; - } - ]; - - deuxfleurs.vpn_ip = "10.42.1.31"; - deuxfleurs.vpn_listen_port = 33731; + deuxfleurs.cluster_ip = "10.83.101.43"; deuxfleurs.is_raft_server = true; - - # Enable netdata monitoring - services.netdata.enable = true; } diff --git a/cluster/prod/node/courgette.nix b/cluster/prod/node/courgette.nix index d34e7a5..d31af77 100644 --- a/cluster/prod/node/courgette.nix +++ b/cluster/prod/node/courgette.nix @@ -12,18 +12,8 @@ deuxfleurs.network_interface = "eno1"; deuxfleurs.lan_ip = "192.168.1.32"; + deuxfleurs.ipv6 = "2a01:e0a:c:a720::32"; - networking.interfaces.eno1.ipv6.addresses = [ - { - address = "2a01:e0a:c:a720::32"; - prefixLength = 64; - } - ]; - - deuxfleurs.vpn_ip = "10.42.1.32"; - deuxfleurs.vpn_listen_port = 33732; + deuxfleurs.cluster_ip = "10.83.66.147"; deuxfleurs.is_raft_server = true; - - # Enable netdata monitoring - services.netdata.enable = true; } |