diff options
Diffstat (limited to 'modules/vpn.nix')
-rw-r--r-- | modules/vpn.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/vpn.nix b/modules/vpn.nix index 3f461aa..27cb83f 100644 --- a/modules/vpn.nix +++ b/modules/vpn.nix @@ -79,7 +79,14 @@ in { "${config.age.secrets."${config.networking.hostName}-wireguard-key".path}"; allowedIPsAsRoutes = true; listenPort = cfg.listenPort; - peers = getPeers config.networking.hostName; + peers = [ + { + name = "dragon"; + endpoint = "vpn.orbekk.com"; + publicKey = "9q8aH3R8YBfP3xiTmN5bNiLQswY5dy3grB/P0vDqP0M="; + allowedIPs = ["${vpn-prefix}::/64"]; + } + ]; }; }; }; |