aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBjornMelgaard <melgaardbjorn@gmail.com>2017-11-05 23:24:42 +0200
committerRobert Helgesson <robert@rycee.net>2017-11-06 18:02:15 +0100
commitfc3e82584bda579739f01b57e5f31adea2bce593 (patch)
treeb16645a21242b9f39ec0ffcd6af7eb41b46ff341 /README.md
parenta0afb6ec8ef2d35113feaf4b837db303942ba298 (diff)
readme: expand preconditions installation step
Also fix markdown list item numbering.
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5b2d88429e9..6cee3bfb894 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,14 @@ Currently the easiest way to install Home Manager is as follows:
since Home Manager uses these directories to manage your profile
generations. On NixOS these should already be available.
+ Also make sure that your user is able to build and install Nix
+ packages. For example, you should be able to successfully run a
+ command like `nix-instantiate '<nixpkgs>' -A hello`. For a
+ multi-user install of Nix this means that your user must be
+ covered by the [`allowed-users`][nixAllowedUsers] Nix option. On
+ NixOS you can control this option using the
+ [`nix.allowedUsers`][nixosAllowedUsers] system option.
+
2. Assign a temporary variable holding the URL to the appropriate
archive. Typically this is
@@ -61,7 +69,7 @@ Currently the easiest way to install Home Manager is as follows:
depending on whether you follow Nixpkgs unstable or version 17.09.
-2. Create an initial Home Manager configuration file:
+3. Create an initial Home Manager configuration file:
```console
$ cat > ~/.config/nixpkgs/home.nix <<EOF
@@ -72,7 +80,7 @@ Currently the easiest way to install Home Manager is as follows:
EOF
```
-3. Create the first Home Manager generation:
+4. Create the first Home Manager generation:
```console
$ nix-shell $HM_PATH -A install --run 'home-manager switch'
@@ -235,3 +243,5 @@ in your Home Manager configuration.
[Nix]: https://nixos.org/nix/
[NixOS]: https://nixos.org/
[Nixpkgs]: https://nixos.org/nixpkgs/
+[nixAllowedUsers]: https://nixos.org/nix/manual/#conf-allowed-users
+[nixosAllowedUsers]: https://nixos.org/nixos/manual/options.html#opt-nix.allowedUsers