From 863149d5d29370d515aa60995d8ada941fd60af4 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 11 Jul 2024 21:42:58 +0700 Subject: [PATCH] syncthing: reduced device targets for WireGuard and OpenVPN --- system/services/syncthing.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/system/services/syncthing.nix b/system/services/syncthing.nix index a439686..9d272e8 100644 --- a/system/services/syncthing.nix +++ b/system/services/syncthing.nix @@ -68,15 +68,14 @@ in "onyx" ]; }; - "/nas/Syncthing/Sync/VPN" = { - label = "OpenVPN"; - id = "OpenVPN"; - devices = lib.attrsets.mapAttrsToList (key: _value: key) config.services.syncthing.settings.devices; - }; "/nas/Syncthing/Sync/WireGuard" = { label = "WireGuard"; id = "WireGuard"; - devices = lib.attrsets.mapAttrsToList (key: _value: key) config.services.syncthing.settings.devices; + # devices = lib.attrsets.mapAttrsToList (key: _value: key) config.services.syncthing.settings.devices; + devices = [ + "s20fe" + "work-laptop" + ]; }; "/nas/photos/mama" = { label = "Camera Mama";