moduleInputs @ { inputs, flakeLib, vars, ... }: let inherit (vars) username hostName; profile = "${username}@${hostName}"; in { ${profile} = let config = flakeLib.mkHomeManagerDefaults moduleInputs; in inputs.home-manager.lib.homeManagerConfiguration { inherit (config) extraSpecialArgs pkgs useGlobalPkgs useUserPackages; modules = [ ../profiles/home-manager/${profile}/home.nix ]; }; }