{ inputs, system, username, homeDirectory, modules ? [ ], stateVersion ? "24.11", extraSpecialArgs ? { }, }: inputs.home-manager.lib.homeManagerConfiguration { pkgs = import inputs.nixpkgs { inherit system; }; extraSpecialArgs = extraSpecialArgs // { inherit inputs; }; modules = [ { home = { inherit homeDirectory stateVersion username; }; } ] ++ modules; }