From 6dc8de259a36313ebd1ee25b075174e396f53329 Mon Sep 17 00:00:00 2001 From: Roosembert Palacios Date: Tue, 1 Dec 2020 02:11:48 +0100 Subject: [PATCH] flake: expose Home Manager lib --- README.md | 3 +++ flake.nix | 1 + 2 files changed, 4 insertions(+) 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