1
0
Fork 0
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:
Roosembert Palacios 2020-12-01 02:11:48 +01:00 committed by Robert Helgesson
parent 708cb61e82
commit 6dc8de259a
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 4 additions and 0 deletions

View file

@ -342,6 +342,9 @@ as follows:
} }
``` ```
Note, the Home Manager library is exported by the flake under
`lib.hm`.
Releases Releases
-------- --------

View file

@ -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