Simplify host config path

Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-01 21:00:23 +00:00
parent 359c6fc719
commit d2981b6741

View File

@@ -45,7 +45,7 @@
&& builtins.match "^_+$" username == null
&& builtins.match "^nix.*" username == null
&& username != "root";
hostConfig = (./hosts + "/${hostname}") + "/hardware-configuration.nix";
hostConfig = ./hosts + "/${hostname}/hardware-configuration.nix";
passwordHashPath = "/etc/nixos/secrets/${username}/password.hash";
specialArgs = { inherit inputs system hostname username usernameValid passwordHashPath; };