summary refs log tree commit diff stats
path: root/system/settings/services/syncthing.nix
blob: 3f9918815d8e79de3d3ce639082439b3f5626ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config
, pkgs
, ...
}: {
  services.syncthing = {
    enable = true;
    user = "alan";
    group = "users";
    openDefaultPorts = true;
    systemService = false;
    dataDir = "/home/alan/.config/syncthing";
  };
  systemd.user.services.syncthing.environment = {
    LOGGER_DISCARD = "1";
  };
}