nixos-config/2configs/syncthing.nix
2017-04-17 13:08:36 +02:00

12 lines
219 B
Nix

{...}:
with import <stockholm/lib>; {
services.syncthing = {
enable = true;
openDefaultPorts = true;
useInotify = true;
group = "download";
};
users.extraGroups.download.gid = genid "download";
}