X-Git-Url: http://git.scottworley.com/syncthing-autoregister/blobdiff_plain/274332f765ef56a9ca46f83859f5208849cb4c30..22596d7545d0ae9b24e10da7aad75195c0c0d875:/pkgs/syncthing-set-id.nix diff --git a/pkgs/syncthing-set-id.nix b/pkgs/syncthing-set-id.nix index 7982132..f20798d 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.devices."''${name}".id = id; }) ' | ${jq}/bin/jq -r | ${nixfmt}/bin/nixfmt > "$tmp"