From 47c8ca29a03a2357c7078698065c926045777436 Mon Sep 17 00:00:00 2001 From: Toast Date: Thu, 31 Aug 2023 22:19:12 +0200 Subject: [PATCH] Common: set syncthing options --- roles/common/services/syncthing.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/common/services/syncthing.nix b/roles/common/services/syncthing.nix index a647089..da9174f 100755 --- a/roles/common/services/syncthing.nix +++ b/roles/common/services/syncthing.nix @@ -1,8 +1,16 @@ { config, ... }: { - # Set up devices and folders common to every device services.syncthing = { + overrideDevices = true; + overrideFolders = true; + openDefaultPorts = true; + extraOptions = { + options = { + urAccepted = 3; + }; + }; + # Set up devices and folders common to every device devices = { "phone" = { name = "Xiaomi Redmi Note 10 Pro";