aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-11-24 12:31:08 +0100
committerRobert Helgesson <robert@rycee.net>2017-11-29 23:48:58 +0100
commit06d4f39e7b42fd601eae247e458ac82fece349d0 (patch)
tree9eaf6ae4b1a2017c1fb5bff12eec0b07a2f79684 /README.md
parenta1e36a9a37fa1abc28cf66b55635a6b4ff0dc8e2 (diff)
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`.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
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