mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
commit
b8cf3411d9
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…
Add table
Add a link
Reference in a new issue