1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

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. 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: 3. Install Home Manager and create the first Home Manager generation:
```console ```console

View file

@ -85,6 +85,15 @@ $ nix-channel --update
<para> <para>
if you follow a Nixpkgs version 18.09 channel. if you follow a Nixpkgs version 18.09 channel.
</para> </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>
<listitem> <listitem>
<para> <para>