lol

nixos/syncthing: fix declarative init crash on HTTPS

A previous config may be present that has HTTPS for the REST API enabled.

authored by

Robin Stumm and committed by
Bjørn Forsman
1dd3bd87 1392ff98

+1 -1
+1 -1
nixos/modules/services/networking/syncthing.nix
··· 37 37 do sleep 1; done 38 38 39 39 curl() { 40 - ${pkgs.curl}/bin/curl -sS -H "X-API-Key: $api_key" \ 40 + ${pkgs.curl}/bin/curl -sSLk -H "X-API-Key: $api_key" \ 41 41 --retry 1000 --retry-delay 1 --retry-all-errors \ 42 42 "$@" 43 43 }