X-Git-Url: http://git.scottworley.com/syncthing-autoregister/blobdiff_plain/22596d7545d0ae9b24e10da7aad75195c0c0d875..c47fc98952ec8da4a25e37c3e2327808930a06ca:/pkgs/syncthing-set-id.nix?ds=inline 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"