Expand installation instructions slightly
In particular, mention that non-NixOS users may have to create the per-user `profiles` and `gcroots` directories. Also reformat the list a little.
This commit is contained in:
parent
f60a1ed689
commit
dfb5bbddf5
10
README.md
10
README.md
|
@ -36,7 +36,15 @@ Installation
|
||||||
|
|
||||||
Currently the easiest way to install Home Manager is as follows:
|
Currently the easiest way to install Home Manager is as follows:
|
||||||
|
|
||||||
1. Make sure you have a working Nix installation.
|
1. Make sure you have a working Nix installation. If you are not
|
||||||
|
using NixOS then you may here have to run
|
||||||
|
|
||||||
|
```
|
||||||
|
$ mkdir -m 0755 -p /nix/var/nix/{profiles,gcroots}/per-user/$USER
|
||||||
|
```
|
||||||
|
|
||||||
|
since Home Manager uses these directories to manage your profile
|
||||||
|
generations. On NixOS these should already be available.
|
||||||
|
|
||||||
2. Clone the Home Manager repository into the `~/.nixpkgs` directory:
|
2. Clone the Home Manager repository into the `~/.nixpkgs` directory:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue