From 56ab27d66128ff3891708a5ddde4ecd2a5e3ded5 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sun, 26 Jun 2022 21:06:43 +0200 Subject: [PATCH] oxaproxy: add nextcloud --- hosts/cirrus/wireguard-server.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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";