all repos — nixfiles @ e95c6e59f4d80c6a1c05b07282a2f4304884fe31

System and user configuration, managed by nix and home-manager

system/settings/services/syncthing.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
{
  ...
}:
{
  services.syncthing = {
    enable = true;
    openDefaultPorts = true;
    dataDir = "/srv/syncthing";
    configDir = "/var/lib/syncthing";
  };
}