ids: improve docs

This commit is contained in:
colin 2023-01-08 06:54:29 +00:00
parent a6be200a82
commit f10de6c2c4
1 changed files with 5 additions and 0 deletions

View File

@ -43,7 +43,12 @@ in
sane.ids = mkOption { sane.ids = mkOption {
type = types.attrsOf id; type = types.attrsOf id;
default = {}; default = {};
description = ''
mapping from user/group name to gids/uids you expect that entity to have.
for users/groups created elsewhere *without* an id, this is used to provide them a fixed/stable id.
'';
}; };
# these get merged with the nixpkgs options.
users.users = mkOption { users.users = mkOption {
type = types.attrsOf (types.submodule userOpts); type = types.attrsOf (types.submodule userOpts);
}; };