diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-09 15:38:36 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-09 15:38:36 +0100 |
commit | b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a (patch) | |
tree | eed1e9e77ec8629aa9d43aadff22ab250759e2ab /cluster/staging | |
parent | f03cafd49b48eabc4743b3a3791fd22f19cb0de1 (diff) | |
download | nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.tar.gz nixcfg-b0010b309b89eb64a4ca9e2dd7ceb37b42fd365a.zip |
Config for prod cluster
Diffstat (limited to 'cluster/staging')
-rw-r--r-- | cluster/staging/cluster.nix | 8 | ||||
-rw-r--r-- | cluster/staging/node/carcajou.nix | 2 | ||||
-rw-r--r-- | cluster/staging/node/cariacou.nix | 2 | ||||
-rw-r--r-- | cluster/staging/node/caribou.nix | 2 | ||||
-rw-r--r-- | cluster/staging/node/spoutnik.nix | 2 | ||||
-rw-r--r-- | cluster/staging/ssh_config | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/cluster/staging/cluster.nix b/cluster/staging/cluster.nix index 1292c8b..2b6cb6c 100644 --- a/cluster/staging/cluster.nix +++ b/cluster/staging/cluster.nix @@ -6,25 +6,25 @@ { hostname = "spoutnik"; publicKey = "fO8qZOZmnug84cA8nvfjl5MUqyWljP0BAz/4tHRZyEg="; - IP = "10.42.0.2"; + IP = "10.42.2.2"; endpoint = "77.141.67.109:42136"; } { hostname = "cariacou"; publicKey = "qxrtfn2zRVnN52Y5NYumyU3/FcRMnh3kJ2C37JfrczA="; - IP = "10.42.0.21"; + IP = "10.42.2.21"; endpoint = "82.66.112.151:33721"; } { hostname = "carcajou"; publicKey = "7Nm7pMmyS7Nts1MB+loyD8u84ODxHPTkDu+uqQR6yDk="; - IP = "10.42.0.22"; + IP = "10.42.2.22"; endpoint = "82.66.112.151:33722"; } { hostname = "caribou"; publicKey = "g6ZED/wPn5MPfytJKwPI19808CXtEad0IJUkEAAzwyY="; - IP = "10.42.0.23"; + IP = "10.42.2.23"; endpoint = "82.66.112.151:33723"; } ]; diff --git a/cluster/staging/node/carcajou.nix b/cluster/staging/node/carcajou.nix index 9ef88ad..82cd8f9 100644 --- a/cluster/staging/node/carcajou.nix +++ b/cluster/staging/node/carcajou.nix @@ -24,7 +24,7 @@ } ]; - deuxfleurs.vpn_ip = "10.42.0.22"; + deuxfleurs.vpn_ip = "10.42.2.22"; deuxfleurs.vpn_listen_port = 33722; deuxfleurs.is_raft_server = true; diff --git a/cluster/staging/node/cariacou.nix b/cluster/staging/node/cariacou.nix index 7e999d3..d9dbc93 100644 --- a/cluster/staging/node/cariacou.nix +++ b/cluster/staging/node/cariacou.nix @@ -24,7 +24,7 @@ } ]; - deuxfleurs.vpn_ip = "10.42.0.21"; + deuxfleurs.vpn_ip = "10.42.2.21"; deuxfleurs.vpn_listen_port = 33721; deuxfleurs.is_raft_server = true; diff --git a/cluster/staging/node/caribou.nix b/cluster/staging/node/caribou.nix index 474f3d3..3be3cdc 100644 --- a/cluster/staging/node/caribou.nix +++ b/cluster/staging/node/caribou.nix @@ -24,7 +24,7 @@ } ]; - deuxfleurs.vpn_ip = "10.42.0.23"; + deuxfleurs.vpn_ip = "10.42.2.23"; deuxfleurs.vpn_listen_port = 33723; deuxfleurs.is_raft_server = true; diff --git a/cluster/staging/node/spoutnik.nix b/cluster/staging/node/spoutnik.nix index 1554de9..80ed5d7 100644 --- a/cluster/staging/node/spoutnik.nix +++ b/cluster/staging/node/spoutnik.nix @@ -21,7 +21,7 @@ ]; networking.wireguard.interfaces.wg0 = { - ips = [ "10.42.0.2/16" ]; + ips = [ "10.42.2.2/16" ]; listenPort = 42136; }; diff --git a/cluster/staging/ssh_config b/cluster/staging/ssh_config index 74590ac..8fae8ab 100644 --- a/cluster/staging/ssh_config +++ b/cluster/staging/ssh_config @@ -1,13 +1,13 @@ UserKnownHostsFile ./ssh_known_hosts Host caribou - HostName 10.42.0.23 + HostName 10.42.2.23 Host carcajou - HostName 10.42.0.22 + HostName 10.42.2.22 Host cariacou - HostName 10.42.0.21 + HostName 10.42.2.21 Host spoutnik HostName 10.42.0.2 |