Skip to content

Conversation

@573
Copy link
Contributor

@573 573 commented Oct 16, 2025

Add note to set password before deploying new configuration, closes #829

Add note to set password before deploying new configuration, closes nix-community#829
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;`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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.

Copy link

Copilot AI left a 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.

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;`.
Copy link

Copilot AI Oct 16, 2025

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.

Suggested change
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;`.

Copilot uses AI. Check for mistakes.
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;`.
Copy link

Copilot AI Oct 16, 2025

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;.

Suggested change
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 uses AI. Check for mistakes.
```

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;`.

Copy link

Copilot AI Oct 16, 2025

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
Suggested change
You can set your password by running:
```bash
passwd
# or, to set the 'nixos' user's password explicitly:
sudo passwd nixos

Copilot uses AI. Check for mistakes.
573 and others added 5 commits October 17, 2025 08:35
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants