Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/doc: document password-promptless installation #35210

Merged
merged 2 commits into from Feb 20, 2018
Merged

Conversation

jcrben
Copy link
Contributor

@jcrben jcrben commented Feb 20, 2018

Motivation for this change

I would have liked to have read this line in the manual instead of digging up an issue.

Potentially closes the issue "nix-install cannot run unattended because interactive passwd" - see that discussion for more details.

Not too sure about formatting line breaks in the manual - I can fix that up if it's important.

@@ -279,7 +279,8 @@ Retype new UNIX password: ***

</listitem>

<listitem><para>If everything went well:
<listitem><para>To prevent the password prompt, set `users.mutableUsers = false;` in `configuration.nix`,
which allows unattended installation necessary in automation. If everything went well:
Copy link
Member

@grahamc grahamc Feb 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe:

<listitem>
  <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>If everything went well:

@jcrben
Copy link
Contributor Author

jcrben commented Feb 20, 2018

Thanks - those darn markdown muscle habits! 😊

I'll peruse https://nixos.org/nixos/manual/index.html#sec-writing-documentation a bit before making more docs PRs...

@Mic92 Mic92 changed the title Tip on unattended install nixos/doc: document password-promptless installation Feb 20, 2018
@Mic92 Mic92 merged commit 385369e into NixOS:master Feb 20, 2018
@jcrben jcrben deleted the patch-1 branch February 20, 2018 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants