nixos/syncthing/default.nix

16 lines
308 B
Nix
Raw Normal View History

2023-05-09 07:48:19 +01:00
{ lib, ... }:
{
imports = [ ./folders ];
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
2023-05-09 07:48:19 +01:00
extraOptions = {
options = {
globalAnnounceEnabled = lib.mkDefault false;
2023-05-09 13:52:52 +01:00
localAnnounceEnabled = lib.mkDefault true;
2023-05-09 07:48:19 +01:00
};
};
};
}