diff --git a/README.md b/README.md index a47f26bc6..164d2a05e 100644 --- a/README.md +++ b/README.md @@ -342,6 +342,9 @@ as follows: } ``` +Note, the Home Manager library is exported by the flake under +`lib.hm`. + Releases -------- diff --git a/flake.nix b/flake.nix index 2d53d603a..b0aa6095a 100644 --- a/flake.nix +++ b/flake.nix @@ -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