all repos — nixfiles @ 87a1912fa27c2a8bef99bc03328a8f35aee7a3c3

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

modules/services/syncthing.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
{ config, pkgs, ... }:

{ services.syncthing = {
    enable = true;
    user = "alan";
    group = "users";
    openDefaultPorts = true;
    systemService = true;
    useInotify = true;
    dataDir = "/home/alan/.config/syncthing";
  };
}