diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2020-01-28 15:52:53 -0700 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2020-01-29 21:09:35 -0700 |
commit | 259a8ef47135f2a923c3fe8fb056cedc867b2d9c (patch) | |
tree | 550ae5330a227637187f7c15cefcb704818ce4c2 /services | |
parent | 50da2fb052fcdf89624b6faa51b4d20047d82317 (diff) | |
download | cfg.nix-259a8ef47135f2a923c3fe8fb056cedc867b2d9c.tar.gz cfg.nix-259a8ef47135f2a923c3fe8fb056cedc867b2d9c.tar.xz |
services: syncthing: initial service configuration
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'services')
-rw-r--r-- | services/syncthing.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/services/syncthing.nix b/services/syncthing.nix new file mode 100644 index 0000000..6cd653a --- /dev/null +++ b/services/syncthing.nix @@ -0,0 +1,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 = [ ]; + }; + }; + }; +} |