nixos/system-path: Add mkpasswd(1)

Generating password hashes, e.g. when adding new users to the system
configuration, should work out-of-the-box and offline.
This commit is contained in:
Klemens Nanni
2020-10-26 03:40:11 +01:00
committed by Andreas Rammhold
parent 327cca2ab3
commit 3216b85713
3 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -35,8 +35,7 @@ let
'';
hashedPasswordDescription = ''
To generate a hashed password install the <literal>mkpasswd</literal>
package and run <literal>mkpasswd -m sha-512</literal>.
To generate a hashed password run <literal>mkpasswd -m sha-512</literal>.
If set to an empty string (<literal>""</literal>), this user will
be able to log in without being asked for a password (but not via remote