2025-01-23 03:18:04 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; {
|
|
|
|
services = {
|
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
systemService = true;
|
|
|
|
overrideFolders = false;
|
|
|
|
overrideDevices = false;
|
|
|
|
openDefaultPorts = true;
|
|
|
|
guiAddress = "127.0.0.1:8384";
|
|
|
|
settings.options.urAccepted = -1;
|
2025-01-24 19:00:01 +01:00
|
|
|
dataDir = "/mnt/export2179/syncthing";
|
2025-01-23 03:18:04 +01:00
|
|
|
relay = {
|
|
|
|
enable = true;
|
2025-01-23 20:16:29 +01:00
|
|
|
pools = [];
|
2025-01-23 03:18:04 +01:00
|
|
|
providedBy = "vps.posixlycorrect.com";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|