Commit b8089bd2 authored by Christian Demsar's avatar Christian Demsar
Browse files

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.
parent 18bf2b64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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}
          '';