diff --git a/services/telegraf.nix b/services/telegraf.nix index 4707a867..cf58b7ff 100644 --- a/services/telegraf.nix +++ b/services/telegraf.nix @@ -24,7 +24,7 @@ token = "$TELEGRAF_TOKEN"; organization = "default"; bucket = "telegrafdb"; - http_headers = "{ 'Authorization' = 'Token test' }"; + http_headers = { Authorization = 'Token ${TELEGRAF_TOKEN}'; }; }; }; inputs = {