From 507af84adf60a650bf8b066cc30049e12ff3f105 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 5 Jul 2023 19:52:22 +0900 Subject: [PATCH] test --- services/telegraf.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/telegraf.nix b/services/telegraf.nix index 88aacebc..d6ee0c37 100644 --- a/services/telegraf.nix +++ b/services/telegraf.nix @@ -16,9 +16,7 @@ # Configure the package: services.telegraf = { enable = true; - environmentFiles = { - /run/secrets/secrets - }; + environmentFiles = [ /run/secrets/telegraf-token ]; extraConfig = { outputs = { influxdb_v2 = {