diff options
Diffstat (limited to 'nixos/modules/services/monitoring/telegraf.nix')
-rw-r--r-- | nixos/modules/services/monitoring/telegraf.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/monitoring/telegraf.nix b/nixos/modules/services/monitoring/telegraf.nix index d878673266821..5d131557e8be9 100644 --- a/nixos/modules/services/monitoring/telegraf.nix +++ b/nixos/modules/services/monitoring/telegraf.nix @@ -63,10 +63,9 @@ in { }; }; - users.users = [{ - name = "telegraf"; + users.users.telegraf = { uid = config.ids.uids.telegraf; description = "telegraf daemon user"; - }]; + }; }; } |