fix
This commit is contained in:
@@ -105,11 +105,11 @@ in {
|
||||
];
|
||||
};
|
||||
|
||||
users.users.telegraf.extraGroups = ["docker" "podman"];
|
||||
users.users.telegraf.extraGroups = ["podman"];
|
||||
|
||||
systemd.services.telegraf = {
|
||||
path = lib.optionals (hasCollector "smart") [ pkgs.smartmontools ];
|
||||
serviceConfig.SupplementaryGroups = ["docker" "podman"];
|
||||
serviceConfig.SupplementaryGroups = ["podman"];
|
||||
};
|
||||
|
||||
security.sudo.extraRules = lib.optionals (hasCollector "smart") [{
|
||||
|
||||
Reference in New Issue
Block a user