From 273fe9c01ba9ea079f911450563d82846342ffbb Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 14 Aug 2024 15:51:09 +0900 Subject: [PATCH] Update Sycnthing --- nixos/common/services/syncthing.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/common/services/syncthing.nix b/nixos/common/services/syncthing.nix index 1a335786..9b94fd55 100644 --- a/nixos/common/services/syncthing.nix +++ b/nixos/common/services/syncthing.nix @@ -18,7 +18,6 @@ services.syncthing = { enable = true; - urAccepted = "-1"; cert = "/run/secrets/syncthing_cert"; key = "/run/secrets/syncthing_key"; user = "${username}"; @@ -26,6 +25,11 @@ overrideDevices = true; overrideFolders = true; settings = { + options = { + urAccepted = "-1"; + localAnnounceEnabled = true; + relaysEnabled = true; + }; devices = { "framework-server" = { # The docker container, not the host autoAcceptFolders = true;