Merge pull request #148729 from bjornfor/add-missing-collectd-group-v2

nixos/collectd: add missing group
This commit is contained in:
Jörg Thalheim 2021-12-05 17:18:55 +00:00 committed by GitHub
commit 8ae2771224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,12 @@ in {
users.users = optionalAttrs (cfg.user == "collectd") {
collectd = {
isSystemUser = true;
group = "collectd";
};
};
users.groups = optionalAttrs (cfg.user == "collectd") {
collectd = {};
};
};
}