Merge pull request #148729 from bjornfor/add-missing-collectd-group-v2
nixos/collectd: add missing group
This commit is contained in:
commit
8ae2771224
1 changed files with 5 additions and 0 deletions
|
@ -132,7 +132,12 @@ in {
|
|||
users.users = optionalAttrs (cfg.user == "collectd") {
|
||||
collectd = {
|
||||
isSystemUser = true;
|
||||
group = "collectd";
|
||||
};
|
||||
};
|
||||
|
||||
users.groups = optionalAttrs (cfg.user == "collectd") {
|
||||
collectd = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue