From: Scott Worley Date: Mon, 3 Jun 2024 07:13:54 +0000 (-0700) Subject: Follow services.syncthing.devices rename X-Git-Url: http://git.scottworley.com/syncthing-autoregister/commitdiff_plain/42878a79796c387f3f38bf67cf83b30faf652af7 Follow services.syncthing.devices rename --- 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"