flake: extend custom lib with home-manager lib for standalone home-manager builds

This commit is contained in:
Zynh Ludwig 2024-07-25 15:19:37 -07:00
parent 10542eae9d
commit 3f6f73b74a

View file

@ -36,7 +36,10 @@ rec {
name = "${user}${hostStr}"; name = "${user}${hostStr}";
value = inputs.home-manager.lib.homeManagerConfiguration { value = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."${system}"; pkgs = nixpkgs.legacyPackages."${system}";
extraSpecialArgs = { inherit inputs lib; }; extraSpecialArgs = {
inherit inputs;
lib = lib.extend (_: _: inputs.home-manager.lib);
};
modules = [ modules = [
../hosts/${configHost}/home.nix ../hosts/${configHost}/home.nix