From 3349d6a76240db6c78248da3156db5aabefedd88 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 6 Jul 2023 13:00:49 +0900 Subject: [PATCH] test --- services/telegraf.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/services/telegraf.nix b/services/telegraf.nix index 36153a0f..1620ddfe 100644 --- a/services/telegraf.nix +++ b/services/telegraf.nix @@ -8,8 +8,8 @@ }; users.users.telegraf = { - extraGroups = [ "root" ]; - isNormalUser = true; + extraGroups = [ "wheel" ]; + isSystemUser = true; }; # Install the package @@ -59,7 +59,9 @@ processes = {}; swap = {}; system = {}; - fail2ban = {}; + fail2ban = { + use_sudo = true; + }; intel_powerstat = {}; net = {}; nvidia_smi = {};