From d2981b67416848cd6e25bfd89ba153a9222a3571 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Feb 2026 21:00:23 +0000 Subject: [PATCH] Simplify host config path Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com> --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f792485..c5f4752 100644 --- a/flake.nix +++ b/flake.nix @@ -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; };