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; };