add syncthing relay

This commit is contained in:
Cyryl Płotnicki 2022-07-20 22:02:07 +01:00
parent 45845bbb0a
commit 4a6226a1b2

View file

@ -12,6 +12,13 @@
./cryptpad.nix ./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 = '' systemd.extraConfig = ''
DefaultTimeoutStartSec=900s DefaultTimeoutStartSec=900s
''; '';