aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-05-17 23:14:45 +0200
committerRobert Helgesson <robert@rycee.net>2017-05-17 23:15:48 +0200
commitdfb5bbddf571f0035a1a4559d4ad939b0491da0b (patch)
tree5f4b36c6998bf51af9a70c28a877786550095c39 /README.md
parentf60a1ed689c45a1220eac2fe23e1fb7a9ab33a1d (diff)
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
index b339cde338b..1c5be43539e 100644
--- a/README.md
+++ b/README.md
@@ -36,15 +36,23 @@ Installation
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
- 2. Clone the Home Manager repository into the `~/.nixpkgs` directory:
+ ```
+ $ 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:
```
$ git clone https://github.com/rycee/home-manager ~/.nixpkgs/home-manager
```
- 3. Add Home Manager to your user's Nixpkgs, for example by adding it
+3. Add Home Manager to your user's Nixpkgs, for example by adding it
to the `packageOverrides` section in your `~/.nixpkgs/config.nix`
file:
@@ -56,7 +64,7 @@ Currently the easiest way to install Home Manager is as follows:
}
```
- 4. Install the `home-manager` package:
+4. Install the `home-manager` package:
```
$ nix-env -f '<nixpkgs>' -iA home-manager