Disable syncthing discovery by default

This commit is contained in:
Evie Litherland-Smith 2023-05-09 07:48:19 +01:00
parent d2baf077e8
commit 1f83293b07

View file

@ -1,9 +1,15 @@
{ ... }:
{ lib, ... }:
{
imports = [ ./folders ];
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
extraOptions = {
options = {
globalAnnounceEnabled = lib.mkDefault false;
localAnnounceEnabled = lib.mkDefault false;
};
};
};
}