From a03b834a359a8355cdd987c4af0f7c80fef1cc5d Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Thu, 12 Jan 2023 23:21:42 +0100 Subject: [PATCH] machines/serlverle&newton: syncthing update usage-reporting --- machines/newton/syncthing.nix | 3 +++ machines/serverle/syncthing.nix | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/machines/newton/syncthing.nix b/machines/newton/syncthing.nix index 76f9e90..14c17f4 100644 --- a/machines/newton/syncthing.nix +++ b/machines/newton/syncthing.nix @@ -11,6 +11,7 @@ extraOptions = { options = { localAnnounceEnabled = false; + urAccepted = 3; }; }; devices = { @@ -46,6 +47,7 @@ "Music" = { id = "mphdq-n6q7y"; path = "/srv/data/music"; + watch = false; devices = [ "thinkman" "birdman" @@ -55,6 +57,7 @@ "Pictures" = { id = "cujyo-yiabu"; path = "/srv/data/photos"; + watch = false; devices = [ "thinkman" "serverle" diff --git a/machines/serverle/syncthing.nix b/machines/serverle/syncthing.nix index 07634b8..1759eb9 100644 --- a/machines/serverle/syncthing.nix +++ b/machines/serverle/syncthing.nix @@ -8,6 +8,11 @@ openDefaultPorts = true; key = config.sops.secrets."syncthing/key".path; cert = config.sops.secrets."syncthing/cert".path; + extraOptions = { + options = { + urAccepted = 3; + }; + }; devices = { "thinkman" = { id = "KXSCPX3-JCCFZM4-S2LQZZL-3AM6WRL-IPNWVG2-IB5FEDJ-YYFUIRR-VMDO3AL"; @@ -41,6 +46,7 @@ "Music" = { id = "mphdq-n6q7y"; path = "/srv/data/music"; + watch = false; devices = [ "thinkman" "birdman" @@ -50,6 +56,7 @@ "Pictures" = { id = "cujyo-yiabu"; path = "/srv/data/photos"; + watch = false; devices = [ "thinkman" "newton"