summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/syncthing.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/syncthing.nix')
-rw-r--r--makefu/2configs/syncthing.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/2configs/syncthing.nix b/makefu/2configs/syncthing.nix
new file mode 100644
index 000000000..6b758ea2d
--- /dev/null
+++ b/makefu/2configs/syncthing.nix
@@ -0,0 +1,11 @@
+{...}:
+
+with import <stockholm/lib>; {
+ services.syncthing = {
+ enable = true;
+ openDefaultPorts = true;
+ useInotify = true;
+ group = "download";
+ };
+ users.extraGroups.download.gid = genid "download";
+}