diff options
author | lassulus <lass@blue.r> | 2018-09-18 15:47:03 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-09-18 15:47:03 +0200 |
commit | 245994cc7ace5a323c476ccc50fd4026b9353dc4 (patch) | |
tree | cf4a3d85c768bd1ca18913d17c67e07bcab95db7 /makefu/2configs/syncthing.nix | |
parent | 1466d3e86abc4d85af6efe5a964df788cf0e36cc (diff) | |
parent | 8a756c7333e0e7c4a0433d68775f8d7c1a53b8b0 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/syncthing.nix')
-rw-r--r-- | makefu/2configs/syncthing.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/makefu/2configs/syncthing.nix b/makefu/2configs/syncthing.nix index 6b758ea2d..bc7413a0a 100644 --- a/makefu/2configs/syncthing.nix +++ b/makefu/2configs/syncthing.nix @@ -1,11 +1,17 @@ -{...}: +{ config, ... }: with import <stockholm/lib>; { services.syncthing = { enable = true; openDefaultPorts = true; - useInotify = true; group = "download"; }; users.extraGroups.download.gid = genid "download"; + state = map (x: config.services.syncthing.dataDir + "/" + x) [ + "key.pem" + "cert.pem" + "config.xml" + "https-cert.pem" + "https-key.pem" + ]; } |