diff --git a/services/telegraf.nix b/services/telegraf.nix index 5e8812f2..5c046311 100644 --- a/services/telegraf.nix +++ b/services/telegraf.nix @@ -24,7 +24,7 @@ token = "$TELEGRAF_TOKEN"; organization = "default"; bucket = "telegrafdb"; - http_headers = [ "{'Authorization' = 'Token $TELEGRAF_TOKEN}'}" ]; + http_headers = "{Authorization = Token $TELEGRAF_TOKEN}"; }; }; inputs = {