add syncthing listen addresses
This commit is contained in:
parent
4a6226a1b2
commit
2ea36eb62d
1 changed files with 11 additions and 1 deletions
|
@ -2,9 +2,19 @@
|
|||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "cyryl";
|
||||
dataDir = "/home/cyryl/.syncthing";
|
||||
dataDir = "/home/cyryl/";
|
||||
openDefaultPorts = true;
|
||||
package =
|
||||
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
|
||||
extraOptions = {
|
||||
options = {
|
||||
listenAddresses = [
|
||||
"tcp://${config.networking.hostName}.raptor-carp.ts.net:22000"
|
||||
"quic://${config.networking.hostName}.raptor-carp.ts.net:22000"
|
||||
"relay://vpsfree1.raptor-carp.ts.net:22067/?id=BVJ54DH-VCLK4C7-SKNGOZP-36K76IE-UEEKLVF-WA5QHN6-6TK2ICW-HSDI6Q7"
|
||||
"dynamic+https://relays.syncthing.net/endpoint"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue