From e769d131388130a09988c52cd03843a6128391df Mon Sep 17 00:00:00 2001 From: Wolfgang Date: Sat, 26 Oct 2024 14:14:21 +0200 Subject: [PATCH] Fix the curl command with the -K option --- nixos/modules/services/misc/duckdns.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/duckdns.nix b/nixos/modules/services/misc/duckdns.nix index 9a8535b53c812..8a8f234923b52 100644 --- a/nixos/modules/services/misc/duckdns.nix +++ b/nixos/modules/services/misc/duckdns.nix @@ -76,7 +76,7 @@ in ${lib.optionalString (cfg.domainsFile != null) '' export DUCKDNS_DOMAINS=$(systemd-creds cat DUCKDNS_DOMAINS_FILE | sed -z 's/\n/,/g') ''} - curl --no-progress-meter -k -K- <<< "url = 'https://www.duckdns.org/update?domains=$DUCKDNS_DOMAINS&token=$DUCKDNS_TOKEN&ip='" | grep -v "KO" + curl --no-progress-meter -k -K- <<< "url = \"https://www.duckdns.org/update?domains=$DUCKDNS_DOMAINS&token=$DUCKDNS_TOKEN&ip=\"" | grep -v "KO" ''; }; };