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 = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "cyryl";
|
user = "cyryl";
|
||||||
dataDir = "/home/cyryl/.syncthing";
|
dataDir = "/home/cyryl/";
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
package =
|
package =
|
||||||
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
|
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