X-Git-Url: http://git.scottworley.com/syncthing-autoregister/blobdiff_plain/274332f765ef56a9ca46f83859f5208849cb4c30..42878a79796c387f3f38bf67cf83b30faf652af7:/pkgs/syncthing-set-id.nix diff --git a/pkgs/syncthing-set-id.nix b/pkgs/syncthing-set-id.nix index 7982132..4c3ddbe 100644 --- a/pkgs/syncthing-set-id.nix +++ b/pkgs/syncthing-set-id.nix @@ -44,7 +44,7 @@ writeShellScriptBin "syncthing-set-id" '' { file, name, id }: let pkgs = import { }; in pkgs.lib.generators.toPretty { } (pkgs.lib.recursiveUpdate (import file) { - services.syncthing.declarative.devices."''${name}".id = id; + services.syncthing.settings.devices."''${name}".id = id; }) ' | ${jq}/bin/jq -r | ${nixfmt}/bin/nixfmt > "$tmp"