[syncthing] More relay config

This commit is contained in:
2025-04-02 17:42:11 -07:00
parent b31594b567
commit 9a717be22d
2 changed files with 8 additions and 2 deletions

View File

@@ -13,7 +13,11 @@
Notes = {
label = "Notes";
path = "~/Documents/Notes";
devices = [ "altair" "mcp" "vega" ];
devices = [
"altair"
"mcp"
"vega"
];
};
};
devices = {
@@ -47,7 +51,7 @@
globalAnnounceEnabled = false;
relaysEnabled = true;
listenAddresses = [
"relay://syncthing.blazestar.net:22067"
"relay://syncthing.blazestar.net:22067/?id=TITGK5I-55GDSAF-HHPCSMZ-AHD2YKT-LZSKYRQ-5B6MGE4-LMLNEP6-KQ4UJQF&networkTimeout=2m0s&pingInterval=1m0s&statusAddr=%3A22070"
];
# Whether the user has accepted submitting usage data. 0 is no-choice.
# -1 means no. A positive integer means yes.

View File

@@ -115,6 +115,7 @@
# So I don't have to use public relays
services.syncthing.relay = {
enable = true;
# Leave this empty, meaning it won't join any public pools.
pools = [ ];
};
@@ -122,6 +123,7 @@
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [
22067 # Syncthing relay
22070 # Syncthing relay status
];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.