Skip to content

Groups

users.groups.<name>.gid

The group GID. If the GID is null, a free GID is picked on activation.

Type: null or signed integer

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/config/users-groups.nix

users.groups.<name>.members

The user names of the group members, added to the /etc/group file.

Type: list of (string, not containing newlines or colons)

Default

[ ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/config/users-groups.nix

users.groups.<name>.name

The name of the group. If undefined, the name of the attribute set will be used.

Type: string, not containing newlines or colons

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/config/users-groups.nix