readme: add notice that relog may be needed

Also add instructions for non-NixOS users to add the user channel
directory to `NIX_PATH`.
This commit is contained in:
Robert Helgesson 2018-12-23 10:47:12 +01:00
parent 218a8c4d90
commit 235a6617c4
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -85,6 +85,15 @@ $ nix-channel --update
<para>
if you follow a Nixpkgs version 18.09 channel.
</para>
<para>
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
<programlisting>
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
</programlisting>
to your shell (see
<link xlink:href="https://github.com/NixOS/nix/issues/2033">nix#2033</link>).
</para>
</listitem>
<listitem>
<para>