nixos/doc: document password-promptless installation (#35210)

This commit is contained in:
Ben Creasy 2018-02-20 00:59:13 -08:00 committed by Jörg Thalheim
parent e4fb79971c
commit 385369eeb2

View File

@ -275,11 +275,20 @@ Enter new UNIX password: ***
Retype new UNIX password: ***
</screen>
<note>
<para>
To prevent the password prompt, set <code>users.mutableUsers = false;</code> in
<filename>configuration.nix</filename>, which allows unattended installation
necessary in automation.
</para>
</note>
</para>
</listitem>
<listitem><para>If everything went well:
<listitem>
<para>If everything went well:
<screen>
# reboot</screen>