about summary refs log tree commit diff
path: root/nixos/tests/telegraf.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/telegraf.nix')
-rw-r--r--nixos/tests/telegraf.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/telegraf.nix b/nixos/tests/telegraf.nix
index d99680ce2c3c4..c3cdb1645213a 100644
--- a/nixos/tests/telegraf.nix
+++ b/nixos/tests/telegraf.nix
@@ -4,7 +4,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
     maintainers = [ mic92 ];
   };
 
-  machine = { ... }: {
+  nodes.machine = { ... }: {
     services.telegraf.enable = true;
     services.telegraf.environmentFiles = [(pkgs.writeText "secrets" ''
       SECRET=example