flake: extend custom lib with home-manager lib for standalone home-manager builds
parent
10542eae9d
commit
3f6f73b74a
|
@ -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 New Issue