nix_config/sys/platforms/vps/srv/syncthing.nix

24 lines
419 B
Nix
Raw Normal View History

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;
relay = {
enable = true;
2025-01-23 20:16:29 +01:00
pools = [];
2025-01-23 03:18:04 +01:00
providedBy = "vps.posixlycorrect.com";
};
};
};
}