mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +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
|
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