-
-
Notifications
You must be signed in to change notification settings - Fork 152
Update install.md #830
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
base: main
Are you sure you want to change the base?
Update install.md #830
Conversation
Add note to set password before deploying new configuration, closes nix-community#829
docs/src/install.md
Outdated
| sudo nix-channel --update | ||
| ``` | ||
|
|
||
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. | |
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set `security.sudo.wheelNeedsPassword = true;` which is the default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a safety note to the installation docs reminding users to set their password before enabling sudo password requirements (closes #829).
- Adds a reminder about setting a user password when enabling security.sudo.wheelNeedsPassword
- Minor wording/formatting opportunity in the new sentence for clarity and consistency
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
docs/src/install.md
Outdated
| sudo nix-channel --update | ||
| ``` | ||
|
|
||
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. |
Copilot
AI
Oct 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammatical fix: replace 'in case you'll set' with 'in case you set' for correct tense and clarity.
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. | |
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you set ` security.sudo.wheelNeedsPassword = true;`. |
docs/src/install.md
Outdated
| sudo nix-channel --update | ||
| ``` | ||
|
|
||
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. |
Copilot
AI
Oct 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the leading space inside the inline code to render and copy correctly: change security.sudo.wheelNeedsPassword = true; to security.sudo.wheelNeedsPassword = true;.
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. | |
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set `security.sudo.wheelNeedsPassword = true;`. |
| ``` | ||
|
|
||
| Don't forget to set a password for your user (default is `nixos` and is in the `wheel` group) in case you'll set ` security.sudo.wheelNeedsPassword = true;`. | ||
|
|
Copilot
AI
Oct 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Provide an explicit command example so readers can immediately act. Suggest adding a short snippet such as: 'Run passwd to set your password before enabling wheelNeedsPassword' followed by a code block:
passwd
# or, to set the 'nixos' user's password explicitly:
sudo passwd nixos| You can set your password by running: | |
| ```bash | |
| passwd | |
| # or, to set the 'nixos' user's password explicitly: | |
| sudo passwd nixos |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add note to set password before deploying new configuration, closes #829