24 lines
419 B
Nix
24 lines
419 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";
|
|
};
|
|
};
|
|
};
|
|
}
|