Tighten path/docs clarity

Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-01 20:59:23 +00:00
parent 0a24c471aa
commit 78fb822374
3 changed files with 8 additions and 8 deletions

View File

@@ -45,8 +45,8 @@
&& builtins.match "^_+$" username == null
&& builtins.match "^nix" username == null
&& username != "root";
hostConfig = ./hosts + "/${hostname}/hardware-configuration.nix";
passwordHashPath = assert usernameValid; "/etc/nixos/secrets/${username}/password.hash";
hostConfig = (./hosts + "/${hostname}") + "/hardware-configuration.nix";
passwordHashPath = "/etc/nixos/secrets/${username}/password.hash";
specialArgs = { inherit inputs system hostname username usernameValid passwordHashPath; };
# Verify mango flake exports the expected module