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

24 lines
420 B
Nix

{
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;
pools = [ ];
providedBy = "vps.posixlycorrect.com";
};
};
};
}