From 7b697ba795f937389049e9349b71723ad6ca9cb7 Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Thu, 16 Oct 2025 16:11:46 +0200 Subject: [PATCH 1/6] Update install.md Add note to set password before deploying new configuration, closes #829 --- docs/src/install.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/install.md b/docs/src/install.md index a480c1c5..141d3945 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -58,6 +58,8 @@ After the initial installation, you need to update your channels once, to be abl 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;`. + If you want to make NixOS your default distribution, you can do so with ```powershell From 4061eb9417fff13f1d5f6d5f63548d104e264997 Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:35:38 +0200 Subject: [PATCH 2/6] Update docs/src/install.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/src/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/install.md b/docs/src/install.md index 141d3945..f7b8bfc1 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -58,7 +58,7 @@ After the initial installation, you need to update your channels once, to be abl 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;`. +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;`. If you want to make NixOS your default distribution, you can do so with From acc92943a7e4c6bde849fe566a4d370054a4c16d Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:36:28 +0200 Subject: [PATCH 3/6] Update docs/src/install.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/src/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/install.md b/docs/src/install.md index f7b8bfc1..9db4b860 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -60,6 +60,12 @@ 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 set ` security.sudo.wheelNeedsPassword = true;`. +You can set your password by running: + +```bash +passwd +# or, to set the 'nixos' user's password explicitly: +sudo passwd nixos If you want to make NixOS your default distribution, you can do so with ```powershell From feb719d5c8cfe9ccd465790a77d2e84dcfce75b5 Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:39:36 +0200 Subject: [PATCH 4/6] Update docs/src/install.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/src/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/install.md b/docs/src/install.md index 9db4b860..a999fb0e 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -62,6 +62,12 @@ Don't forget to set a password for your user (default is `nixos` and is in the ` You can set your password by running: +```bash +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: From c8920fe927fb72cb89bb7f8d74cfc467f6647af4 Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:46:38 +0200 Subject: [PATCH 5/6] Update install.md --- docs/src/install.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/src/install.md b/docs/src/install.md index a999fb0e..e88a98cf 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -58,7 +58,7 @@ After the initial installation, you need to update your channels once, to be abl 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 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;` which is the default. You can set your password by running: @@ -66,12 +66,8 @@ You can set your password by running: 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 If you want to make NixOS your default distribution, you can do so with ```powershell From 1763b595ec6d15b27e28a41dab7e263d62ee6b56 Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:49:03 +0200 Subject: [PATCH 6/6] Update install.md --- docs/src/install.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/src/install.md b/docs/src/install.md index e88a98cf..b009294a 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -52,12 +52,6 @@ If you chose a different name for your distro during import, adjust this command ## Post-Install -After the initial installation, you need to update your channels once, to be able to use `nixos-rebuild`: - -```sh -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 set `security.sudo.wheelNeedsPassword = true;` which is the default. You can set your password by running: @@ -68,6 +62,12 @@ passwd sudo passwd nixos ``` +After the initial installation, you need to update your channels once, to be able to use `nixos-rebuild`: + +```sh +sudo nix-channel --update +``` + If you want to make NixOS your default distribution, you can do so with ```powershell