1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 09:28:32 +02:00

README: add instructions for release-17.03 branch

(cherry picked from commit 46f0338092)
This commit is contained in:
Robert Helgesson 2017-06-15 18:11:49 +02:00
parent ad1eee7aa5
commit 07b4228988
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -19,9 +19,9 @@ will write to your dconf store and cannot tell whether a configuration
that it is about to be overwrite was from a previous Home Manager that it is about to be overwrite was from a previous Home Manager
generation or from manual configuration. generation or from manual configuration.
Home Manager targets [NixOS][] version 17.03 (the current stable Home Manager targets [NixOS][] unstable and NixOS version 17.03 (the
version), it may or may not work on other Linux distributions and current stable version), it may or may not work on other Linux
NixOS versions. distributions and NixOS versions.
Also, the `home-manager` tool does not explicitly support rollbacks at Also, the `home-manager` tool does not explicitly support rollbacks at
the moment so if your home directory gets messed up you'll have to fix the moment so if your home directory gets messed up you'll have to fix
@ -50,9 +50,18 @@ Currently the easiest way to install Home Manager is as follows:
directory: directory:
``` ```
$ git clone https://github.com/rycee/home-manager ~/.config/nixpkgs/home-manager $ git clone -b master https://github.com/rycee/home-manager ~/.config/nixpkgs/home-manager
``` ```
or
```
$ git clone -b release-17.03 https://github.com/rycee/home-manager ~/.config/nixpkgs/home-manager
```
depending on whether you are tracking Nixpkgs unstable or version
17.03.
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 to the `packageOverrides` section in your
`~/.config/nixpkgs/config.nix` file: `~/.config/nixpkgs/config.nix` file: