nixos/unit: fix attrs
This commit is contained in:
parent
ace14c5b38
commit
f2c9bcf009
@ -130,8 +130,10 @@ in {
|
||||
};
|
||||
|
||||
users.users = optionalAttrs (cfg.user == "unit") {
|
||||
unit.group = cfg.group;
|
||||
isSystemUser = true;
|
||||
unit = {
|
||||
group = cfg.group;
|
||||
isSystemUser = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.groups = optionalAttrs (cfg.group == "unit") {
|
||||
|
Loading…
Reference in New Issue
Block a user