diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 8defa86818ab..e6b9a78f416b 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -27,6 +27,15 @@ let hashedPasswordDescription = '' To generate hashed password install mkpasswd package and run mkpasswd -m sha-512. + + For password-less logins without password prompt, use + the empty string "". + + For logins with a fixed password (including the empty-string password with + prompt), use one of the un-hashed password options instead, such as + . + + Such unprotected logins should only be used for e.g. bootable live systems. ''; userOpts = { name, config, ... }: {