diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/vpn-client.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/config/vpn-client.nix b/config/vpn-client.nix index 5c10239..9b493e8 100644 --- a/config/vpn-client.nix +++ b/config/vpn-client.nix @@ -7,16 +7,16 @@ in interfaces = { wg0 = { ips = [ "10.35.190.2/23" ]; - privateKeyFile = "/opt/secret/wireguard/wg0.key"; - listenPort = port; - allowedIPsAsRoutes = false; - peers = [ - { - publicKey = "KT4sWKnlvPebJh0pYhGpiZksn4cCwKreB6fQCJV49F8="; - endpoint = "dragon.orbekk.com:${toString port}"; - allowedIPs = ["0.0.0.0/0" "::/0"]; - } - ]; + privateKeyFile = "/opt/secret/wireguard/wg0.key"; + listenPort = port; + allowedIPsAsRoutes = false; + peers = [ + { + publicKey = "KT4sWKnlvPebJh0pYhGpiZksn4cCwKreB6fQCJV49F8="; + endpoint = "dragon.orbekk.com:${toString port}"; + allowedIPs = ["0.0.0.0/0" "::/0"]; + } + ]; }; }; }; |