From 873251acfa54b83c90da576eccd9ffabeb6d905c Mon Sep 17 00:00:00 2001 From: hektor Date: Sat, 1 Aug 2026 17:48:39 +0200 Subject: [PATCH] fix(syncthing): use attrsets for IDs --- modules/syncthing/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/syncthing/default.nix b/modules/syncthing/default.nix index 98d146e..cbc2ff4 100644 --- a/modules/syncthing/default.nix +++ b/modules/syncthing/default.nix @@ -51,7 +51,7 @@ in configDir = "/home/${username}/.local/state/syncthing"; openDefaultPorts = true; settings = { - devices = lib.getAttrs referencedDevices deviceRegistry; + devices = lib.mapAttrs (_: id: { inherit id; }) (lib.getAttrs referencedDevices deviceRegistry); folders = lib.mapAttrs (_: folder: { inherit (folder) path