inputs@{ self, ... }: { system ? "x86_64-linux" , username ? "fcuny" , hostname , stateVersion ? "22.05" , }: let naersk = inputs.naersk.lib."${system}"; in inputs.home-manager.lib.homeManagerConfiguration { inherit system; inherit username; inherit stateVersion; homeDirectory = "/home/${username}"; pkgs = import inputs.nixpkgs { inherit system; config.allowUnfree = true; overlays = [ inputs.emacs-overlay.overlay inputs.nur.overlay inputs.naersk.overlay inputs.rust.overlays.default inputs.gh-ssh-keys.overlay inputs.x509-tools.overlay (final: prev: { tools = import "${self}/tools" { pkgs = prev; inherit naersk; }; }) ]; }; configuration.imports = [ "${self}/home" "${self}/hosts/${hostname}/home.nix" ]; }