aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2018-12-23 10:47:12 +0100
committerRobert Helgesson <robert@rycee.net>2018-12-23 10:55:30 +0100
commit235a6617c46b4267d4f67cde9a93dbef0f12bd3f (patch)
tree20b1601af3c611b2f7c811c17c5433d337076966 /README.md
parent218a8c4d9010538fc6b3d533b32142bb68f5e874 (diff)
readme: add notice that relog may be needed
Also add instructions for non-NixOS users to add the user channel directory to `NIX_PATH`.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 856eab5edc1..2386829fe51 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,15 @@ Currently the easiest way to install Home Manager is as follows:
if you follow a Nixpkgs version 18.09 channel.
+ On NixOS you may need to log out and back in for the channel to
+ become available. On non-NixOS you may have to add
+
+ ```shell
+ export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
+ ```
+
+ to your shell (see [nix#2033](https://github.com/NixOS/nix/issues/2033)).
+
3. Install Home Manager and create the first Home Manager generation:
```console