summaryrefslogtreecommitdiff
path: root/services/syncthing.nix
blob: 6cd653aad7dc444f5f7ac6da4bfb968c8a509984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, ... }:
{
  services.syncthing = {
    all_proxy = null;
    enable = true;
    dataDir = /home/kb;
    configDir = /home/kb/.config/syncthing;
    group = "users";
    user = "kb";
    systemService = true;
    declarative.folders = {
      "sync-root" = {
        label = "sync";
        id = "sync-root";
        path = "/home/kb/sync";
        ignorePerms = false;
        devices = [ ];
      };
    };
  };
}