forked from fabian/nix_config
vps: add syncthing
This commit is contained in:
parent
8c2e1b74ef
commit
4e63a64248
3 changed files with 28 additions and 1 deletions
23
sys/platforms/vps/srv/syncthing.nix
Normal file
23
sys/platforms/vps/srv/syncthing.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue