nixos/config: correct hashedPasswordFile doc

`chpasswd -e` accepts entries in the form of:

    <user>:<hashed-password-etc>

However, using a value in the above format fails to set the password
hash. Using ONLY the <hashed-password> generated by `mkpasswd` works as
expected.
This commit is contained in:
Christian Demsar
2025-05-03 01:42:49 -04:00
parent 18bf2b6487
commit b8089bd262
+2 -2
View File
@@ -382,8 +382,8 @@ let
description = ''
The full path to a file that contains the hash of the user's
password. The password file is read on each system activation. The
file should contain exactly one line, which should be the password in
an encrypted form that is suitable for the `chpasswd -e` command.
file should contain exactly one line, the salted password hash
produced by `mkpasswd`.
${passwordDescription}
'';