summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrigory Shipunov2022-06-26 21:06:43 +0200
committerGrigory Shipunov2022-06-26 21:06:43 +0200
commit56ab27d66128ff3891708a5ddde4ecd2a5e3ded5 (patch)
treec3467b440be65737c0a8d1355c211a1c32e047a7 /hosts
parent0300824d34449ccb337a942c10128e560a25872f (diff)
oxaproxy: add nextcloud
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cirrus/wireguard-server.nix11
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";