From 87c317921f9dd85613cfa9ca17a76e8ccdb68795 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 20:55:19 +0000 Subject: [PATCH] Clarify password file setup docs Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com> --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c2b1aa9..08c6eae 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Defaults are set in `flake.nix` and used across modules. Update them there: | `time.timeZone` | `America/New_York` | `modules/common.nix` | | `i18n.defaultLocale` | `en_US.UTF-8` | `modules/common.nix` | -Also rename the `hosts//` directory to match your actual hostname, and ensure the same hostname is set in `flake.nix`. +Also rename the default `hosts/atlas/` directory to match your actual hostname, and ensure the same hostname is set in `flake.nix`. ### 3. Stage Files in Git @@ -136,10 +136,12 @@ sudo nixos-rebuild boot --profile-name gaming --flake .#gaming ### Change Password -Generate a password hash and save it to `/etc/nixos/secrets//password.hash`: +Generate a password hash and save it to `/etc/nixos/secrets//password.hash` (required before applying the config): ```bash -mkpasswd -m sha-512 -# Save the output to /etc/nixos/secrets//password.hash with 600 permissions +sudo mkdir -p /etc/nixos/secrets/ +sudo chmod 700 /etc/nixos/secrets/ +mkpasswd -m sha-512 | sudo tee /etc/nixos/secrets//password.hash +sudo chmod 600 /etc/nixos/secrets//password.hash ``` ### Setup MangoWC