This commit is contained in:
soraefir
2026-06-06 00:53:06 +02:00
parent 9b4021a3df
commit 4217cac3d5

View File

@@ -105,11 +105,11 @@ in {
]; ];
}; };
users.users.telegraf.extraGroups = ["docker" "podman"]; users.users.telegraf.extraGroups = ["podman"];
systemd.services.telegraf = { systemd.services.telegraf = {
path = lib.optionals (hasCollector "smart") [ pkgs.smartmontools ]; path = lib.optionals (hasCollector "smart") [ pkgs.smartmontools ];
serviceConfig.SupplementaryGroups = ["docker" "podman"]; serviceConfig.SupplementaryGroups = ["podman"];
}; };
security.sudo.extraRules = lib.optionals (hasCollector "smart") [{ security.sudo.extraRules = lib.optionals (hasCollector "smart") [{