X-Git-Url: http://git.scottworley.com/syncthing-autoregister/blobdiff_plain/22596d7545d0ae9b24e10da7aad75195c0c0d875..refs/heads/master:/pkgs/syncthing-set-id.nix?ds=sidebyside diff --git a/pkgs/syncthing-set-id.nix b/pkgs/syncthing-set-id.nix index f20798d..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.devices."''${name}".id = id; + services.syncthing.settings.devices."''${name}".id = id; }) ' | ${jq}/bin/jq -r | ${nixfmt}/bin/nixfmt > "$tmp"