From 1f83293b077214c661187f93401a338d00123fb3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 9 May 2023 07:48:19 +0100 Subject: [PATCH] Disable syncthing discovery by default --- syncthing/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/syncthing/default.nix b/syncthing/default.nix index 6070c6ea..54aaf501 100644 --- a/syncthing/default.nix +++ b/syncthing/default.nix @@ -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; + }; + }; }; }