diff options
Diffstat (limited to 'hosts/cirrus')
| -rw-r--r-- | hosts/cirrus/wireguard-server.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/cirrus/wireguard-server.nix b/hosts/cirrus/wireguard-server.nix index 0f28114..c474e0f 100644 --- a/hosts/cirrus/wireguard-server.nix +++ b/hosts/cirrus/wireguard-server.nix @@ -57,7 +57,16 @@ #own pubkey 0KMtL2fQOrrCH6c2a2l4FKiM73G86sUuyaNj4FarzVM= ListenPort = 51821; }; - wireguardPeers = [ ]; + wireguardPeers = [ + # nextcloud + { + wireguardPeerConfig = { + PublicKey ="KCYoGx7TGei4X79EZo2NONCcmQjPzBUN1Ds6I9lQbz0="; + AllowedIPs = [ "10.34.45.100/32" ]; + PersistentKeepalive = 25; + }; + } + ]; }; networks."oxaproxy" = { matchConfig.Name = "oxaproxy"; |
