add syncthing relay
This commit is contained in:
parent
45845bbb0a
commit
4a6226a1b2
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue