From 82df3f2f88e23dc741a63d1bc57ade60552ce65c Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 10 Dec 2023 18:25:00 +0900 Subject: [PATCH] Telegraf test --- nixos/common/services/telegraf.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/common/services/telegraf.nix b/nixos/common/services/telegraf.nix index 117228a5..1b5d8a7c 100644 --- a/nixos/common/services/telegraf.nix +++ b/nixos/common/services/telegraf.nix @@ -63,6 +63,11 @@ }; temp = {}; wireless = {}; + exec = { + commands = "nixos-version"; + data_format = "value"; + data_type = "string"; + }; }; }; };