diff --git a/meta/network.nix b/meta/network.nix index c57223a..91da1cb 100644 --- a/meta/network.nix +++ b/meta/network.nix @@ -19,6 +19,7 @@ }; hostId = "8df60941"; + netbirdIp = "100.80.75.197"; }; geo01 = { @@ -41,6 +42,7 @@ }; hostId = "b88fee0c"; + netbirdIp = "100.80.8.66"; }; geo02 = { @@ -63,6 +65,7 @@ }; hostId = "45d65237"; + netbirdIp = "100.80.233.249"; }; storage01 = { @@ -85,6 +88,7 @@ }; hostId = "d4e7c369"; + netbirdIp = "100.80.156.154"; }; vault01 = { @@ -113,6 +117,7 @@ }; hostId = "e83b600d"; + netbirdIp = "100.80.255.180"; }; web01 = { @@ -131,6 +136,7 @@ }; hostId = "050df79e"; + netbirdIp = "100.80.77.90"; }; web02 = { @@ -149,6 +155,7 @@ }; hostId = "b431ca10"; + netbirdIp = null; # web02 is not to be connected on the VPN }; rescue01 = { @@ -171,7 +178,10 @@ enableDefaultDNS = true; }; }; - hostId = "007f0200"; + addresses.ipv4 = [ "82.67.34.230" ]; + + hostId = "007f0200"; + netbirdIp = "100.80.97.140"; }; } diff --git a/meta/options.nix b/meta/options.nix index 9214b73..389fd61 100644 --- a/meta/options.nix +++ b/meta/options.nix @@ -239,6 +239,13 @@ in Network Id of the node. ''; }; + + netbirdIp = mkOption { + type = nullOr str; + description = '' + IP address of the node in the netbird network. + ''; + }; }; config =