nixos/users-groups: make isNormalUser description readable

This commit is contained in:
Sandro 2022-12-23 00:43:05 +01:00 committed by pennae
parent 907fb200d0
commit 73c0b5c4e8

View file

@ -101,16 +101,13 @@ let
type = types.bool;
default = false;
description = lib.mdDoc ''
Indicates whether this is an account for a real user. This
automatically sets {option}`group` to
`users`, {option}`createHome` to
`true`, {option}`home` to
{file}`/home/«username»`,
Indicates whether this is an account for a real user.
This automatically sets {option}`group` to `users`,
{option}`createHome` to `true`,
{option}`home` to {file}`/home/«username»`,
{option}`useDefaultShell` to `true`,
and {option}`isSystemUser` to
`false`.
Exactly one of `isNormalUser` and
`isSystemUser` must be true.
and {option}`isSystemUser` to `false`.
Exactly one of `isNormalUser` and `isSystemUser` must be true.
'';
};