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 = {};