mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
nixos/unit: fix attrs
This commit is contained in:
parent
ace14c5b38
commit
f2c9bcf009
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue