From 75d40775aaf2e8b0f619ba68da8bcc5dcb6cec7d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 9 May 2023 13:58:49 +0100 Subject: [PATCH] Add device ID for H0615, enable global discovery --- syncthing/H0615.nix | 6 ++++++ syncthing/devices/H0615.nix | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 syncthing/devices/H0615.nix diff --git a/syncthing/H0615.nix b/syncthing/H0615.nix index 65a2425e..7f4358cb 100644 --- a/syncthing/H0615.nix +++ b/syncthing/H0615.nix @@ -15,5 +15,11 @@ enable = true; }; }; + extraOptions = { + options = { + globalAnnounceEnabled = true; + localAnnounceEnabled = true; + }; + }; }; } diff --git a/syncthing/devices/H0615.nix b/syncthing/devices/H0615.nix new file mode 100644 index 00000000..6ca02a1f --- /dev/null +++ b/syncthing/devices/H0615.nix @@ -0,0 +1,4 @@ +{ ... }: +{ + services.syncthing.devices."H0615" = { id = "VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF"; }; +}