flake: expose Home Manager lib
This commit is contained in:
parent
708cb61e82
commit
6dc8de259a
|
@ -342,6 +342,9 @@ as follows:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note, the Home Manager library is exported by the flake under
|
||||||
|
`lib.hm`.
|
||||||
|
|
||||||
Releases
|
Releases
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
darwinModules.home-manager = import ./nix-darwin;
|
darwinModules.home-manager = import ./nix-darwin;
|
||||||
|
|
||||||
lib = {
|
lib = {
|
||||||
|
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
||||||
homeManagerConfiguration = { configuration, system, homeDirectory
|
homeManagerConfiguration = { configuration, system, homeDirectory
|
||||||
, username
|
, username
|
||||||
, pkgs ? builtins.getAttr system nixpkgs.outputs.legacyPackages
|
, pkgs ? builtins.getAttr system nixpkgs.outputs.legacyPackages
|
||||||
|
|
Loading…
Reference in a new issue