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; type = types.bool;
default = false; default = false;
description = lib.mdDoc '' description = lib.mdDoc ''
Indicates whether this is an account for a real user. This Indicates whether this is an account for a real user.
automatically sets {option}`group` to This automatically sets {option}`group` to `users`,
`users`, {option}`createHome` to {option}`createHome` to `true`,
`true`, {option}`home` to {option}`home` to {file}`/home/«username»`,
{file}`/home/«username»`,
{option}`useDefaultShell` to `true`, {option}`useDefaultShell` to `true`,
and {option}`isSystemUser` to and {option}`isSystemUser` to `false`.
`false`. Exactly one of `isNormalUser` and `isSystemUser` must be true.
Exactly one of `isNormalUser` and
`isSystemUser` must be true.
''; '';
}; };