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:
parent
218a8c4d90
commit
235a6617c4
2 changed files with 18 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue