diff --git a/nixos/common/services/telegraf.nix b/nixos/common/services/telegraf.nix index c3ebbc3d..e9da7e84 100644 --- a/nixos/common/services/telegraf.nix +++ b/nixos/common/services/telegraf.nix @@ -64,7 +64,7 @@ temp = {}; wireless = {}; exec = { - commands = [ "nixos-version" ]; + commands = [ "/run/current-system/sw/bin/nixos-version" ]; name_suffix = "_nixos-version"; data_format = "value"; data_type = "string";