From 4a6226a1b24acee10df3cb91ee6e42ea2150fc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 20 Jul 2022 22:02:07 +0100 Subject: [PATCH] add syncthing relay --- nixos/boxes/vpsfree1/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/boxes/vpsfree1/default.nix b/nixos/boxes/vpsfree1/default.nix index 430032b5..e9eb1d16 100644 --- a/nixos/boxes/vpsfree1/default.nix +++ b/nixos/boxes/vpsfree1/default.nix @@ -12,6 +12,13 @@ ./cryptpad.nix ]; + networking.firewall.allowedTCPPorts = [ 22067 22070 ]; + services.syncthing.relay = { + enable = true; + listenAddress = "vpsfree1.cyplo.github.beta.tailscale.net"; + pools = [ "" ]; # private relay + extraOptions = [ "-debug" ]; + }; systemd.extraConfig = '' DefaultTimeoutStartSec=900s '';