1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 18:59:47 +01:00

Update documentation for release 20.03

This commit is contained in:
Robert Helgesson 2020-04-22 23:58:00 +02:00
parent 7613fd12ec
commit 42e4eef749
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
5 changed files with 14 additions and 15 deletions

View file

@ -22,7 +22,7 @@ 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][] unstable and NixOS version 19.09 (the Home Manager targets [NixOS][] unstable and NixOS version 20.03 (the
current stable version), it may or may not work on other Linux current stable version), it may or may not work on other Linux
distributions and NixOS versions. distributions and NixOS versions.
@ -75,11 +75,11 @@ Currently the easiest way to install Home Manager is as follows:
if you are following Nixpkgs master or an unstable channel and if you are following Nixpkgs master or an unstable channel and
```console ```console
$ nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager $ nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager
$ nix-channel --update $ nix-channel --update
``` ```
if you follow a Nixpkgs version 19.09 channel. if you follow a Nixpkgs version 20.03 channel.
On NixOS you may need to log out and back in for the channel to 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 become available. On non-NixOS you may have to add
@ -310,7 +310,7 @@ Home Manager is developed against `nixpkgs-unstable` branch, which
often causes it to contain tweaks for changes/packages not yet often causes it to contain tweaks for changes/packages not yet
released in stable NixOS. To avoid breaking users' configurations, released in stable NixOS. To avoid breaking users' configurations,
Home Manager is released in branches corresponding to NixOS releases Home Manager is released in branches corresponding to NixOS releases
(e.g. `release-19.09`). These branches get fixes, but usually not new (e.g. `release-20.03`). These branches get fixes, but usually not new
modules. If you need a module to be backported, then feel free to open modules. If you need a module to be backported, then feel free to open
an issue. an issue.

View file

@ -79,11 +79,11 @@
if you are following Nixpkgs master or an unstable channel and if you are following Nixpkgs master or an unstable channel and
</para> </para>
<screen> <screen>
<prompt>$</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager</userinput> <prompt>$</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>$</prompt> <userinput>nix-channel --update</userinput> <prompt>$</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>
<para> <para>
if you follow a Nixpkgs version 19.09 channel. if you follow a Nixpkgs version 20.03 channel.
</para> </para>
<para> <para>
On NixOS you may need to log out and back in for the channel to become On NixOS you may need to log out and back in for the channel to become
@ -169,12 +169,12 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
</para> </para>
<screen> <screen>
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput> <prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>
<para> <para>
if you follow a Nixpkgs version 19.09 channel. if you follow a Nixpkgs version 20.03 channel.
</para> </para>
<para> <para>
@ -268,12 +268,12 @@ home-manager.useGlobalPkgs = true;
</para> </para>
<screen> <screen>
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput> <prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>
<para> <para>
if you follow a Nixpkgs version 19.09 channel. if you follow a Nixpkgs version 20.03 channel.
</para> </para>
<para> <para>

View file

@ -1,8 +1,7 @@
[[sec-release-20.03]] [[sec-release-20.03]]
== Release 20.03 (unreleased) == Release 20.03
This is the current unstable branch and the information in this The 20.03 release branch became the stable branch in April, 2020.
section is therefore not final.
[[sec-release-20.03-highlights]] [[sec-release-20.03-highlights]]
=== Highlights === Highlights

View file

@ -28,7 +28,7 @@ runCommand "home-manager-install" {
# You can update Home Manager without changing this value. See # You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version # the Home Manager release notes for a list of state version
# changes in each release. # changes in each release.
home.stateVersion = "19.09"; home.stateVersion = "20.03";
} }
EOF EOF
fi fi

View file

@ -5,7 +5,7 @@ with lib;
{ {
options = { options = {
home.stateVersion = mkOption { home.stateVersion = mkOption {
type = types.enum [ "18.09" "19.03" "19.09" "20.03" ]; type = types.enum [ "18.09" "19.03" "19.09" "20.03" "20.09" ];
default = "18.09"; default = "18.09";
description = '' description = ''
It is occasionally necessary for Home Manager to change It is occasionally necessary for Home Manager to change