mirror of
https://github.com/nix-community/home-manager
synced 2024-12-23 18:29:47 +01:00
flake: expose Home Manager lib
This commit is contained in:
parent
708cb61e82
commit
6dc8de259a
2 changed files with 4 additions and 0 deletions
|
@ -342,6 +342,9 @@ as follows:
|
|||
}
|
||||
```
|
||||
|
||||
Note, the Home Manager library is exported by the flake under
|
||||
`lib.hm`.
|
||||
|
||||
Releases
|
||||
--------
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
darwinModules.home-manager = import ./nix-darwin;
|
||||
|
||||
lib = {
|
||||
hm = import ./modules/lib { lib = nixpkgs.lib; };
|
||||
homeManagerConfiguration = { configuration, system, homeDirectory
|
||||
, username
|
||||
, pkgs ? builtins.getAttr system nixpkgs.outputs.legacyPackages
|
||||
|
|
Loading…
Reference in a new issue