diff --git a/flake-parts/hosts.nix b/flake-parts/hosts.nix index 1c8fd1b..cf0d0bb 100644 --- a/flake-parts/hosts.nix +++ b/flake-parts/hosts.nix @@ -10,7 +10,9 @@ let inputs.nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs self; }; modules = - (lib.singleton { networking.hostName = lib.baseNameOf hostDir; }) + (lib.singleton { + networking.hostName = hostDir |> lib.baseNameOf |> lib.unsafeDiscardStringContext; + }) ++ ( hostDir |> builtins.readDir