extract syncthing relay settings out
This commit is contained in:
parent
ad94177c24
commit
03ca97b6c1
2 changed files with 10 additions and 7 deletions
|
@ -10,15 +10,9 @@
|
||||||
../../tailscale.nix
|
../../tailscale.nix
|
||||||
./foundryvtt.nix
|
./foundryvtt.nix
|
||||||
./cryptpad.nix
|
./cryptpad.nix
|
||||||
|
./syncthing-relay.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
|
||||||
'';
|
'';
|
||||||
|
|
9
nixos/boxes/vpsfree1/syncthing-relay.nix
Normal file
9
nixos/boxes/vpsfree1/syncthing-relay.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, pkgs, inputs, lib, ... }: {
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 22067 22070 ];
|
||||||
|
services.syncthing.relay = {
|
||||||
|
enable = true;
|
||||||
|
listenAddress = "vpsfree1.cyplo.github.beta.tailscale.net";
|
||||||
|
pools = [ "" ]; # private relay
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue