flake: extend custom lib with home-manager lib for standalone home-manager builds
This commit is contained in:
parent
10542eae9d
commit
3f6f73b74a
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue