3
0
Fork 0
forked from mirrors/nixpkgs

nixos/usbmuxd: Fix users.groups assignment

A mistake was introduced in https://github.com/NixOS/nixpkgs/pull/63103
This commit is contained in:
Silvan Mosberger 2020-01-12 16:53:27 +01:00
parent 48b537e127
commit d6ad9ce105
No known key found for this signature in database
GPG key ID: E8F1E9EAD284E17D

View file

@ -51,7 +51,7 @@ in
};
};
users.groups = optional (cfg.group == defaultUserGroup) {
users.groups = optionalAttrs (cfg.group == defaultUserGroup) {
${cfg.group} = { };
};