From 06d4f39e7b42fd601eae247e458ac82fece349d0 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 24 Nov 2017 12:31:08 +0100 Subject: home-manager: use `shellHook` to install This changes the installation command from nix-shell $HM_PATH -A install --run 'home-manager switch' to nix-shell $HM_PATH -A install The added shell hook will print some useful information and run `home-manager switch`. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a7e80e16344..2daf42a804f 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,10 @@ Currently the easiest way to install Home Manager is as follows: EOF ``` -4. Create the first Home Manager generation: +4. Install Home Manager and create the first Home Manager generation: ```console - $ nix-shell $HM_PATH -A install --run 'home-manager switch' + $ nix-shell $HM_PATH -A install ``` Home Manager should now be active and available in your user -- cgit v1.2.3