vps: add syncthing

This commit is contained in:
Fabian Montero 2025-01-22 20:18:04 -06:00
parent 8c2e1b74ef
commit 4e63a64248
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
3 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,23 @@
{
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";
};
};
};
}