docs: change stable from 20.03 to 20.09

This commit is contained in:
Robert Helgesson 2020-11-02 22:42:49 +01:00
parent a98ec6ec15
commit 072a6ea333
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
8 changed files with 38 additions and 16 deletions

View file

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2017-2020 Robert Helgesson and Home Manager contributors Copyright (c) 2017-2020 Home Manager contributors
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -27,7 +27,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 20.03 (the Home Manager targets [NixOS][] unstable and NixOS version 20.09 (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.
@ -73,11 +73,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/nix-community/home-manager/archive/release-20.03.tar.gz home-manager $ nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.09.tar.gz home-manager
$ nix-channel --update $ nix-channel --update
``` ```
if you follow a Nixpkgs version 20.03 channel. if you follow a Nixpkgs version 20.09 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
@ -349,7 +349,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-20.03`). These branches get fixes, but usually not new (e.g. `release-20.09`). 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

@ -69,11 +69,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/nix-community/home-manager/archive/release-20.03.tar.gz home-manager</userinput> <prompt>$</prompt> <userinput>nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.09.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 20.03 channel. if you follow a Nixpkgs version 20.09 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
@ -159,12 +159,12 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
</para> </para>
<screen language="console"> <screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.03.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.09.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 20.03 channel. if you follow a Nixpkgs version 20.09 channel.
</para> </para>
<para> <para>
@ -258,12 +258,12 @@ home-manager.useGlobalPkgs = true;
</para> </para>
<screen language="console"> <screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.03.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/nix-community/home-manager/archive/release-20.09.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 20.03 channel. if you follow a Nixpkgs version 20.09 channel.
</para> </para>
<para> <para>

View file

@ -6,6 +6,8 @@ This section lists the release notes for stable versions of Home Manager and the
:leveloffset: 1 :leveloffset: 1
include::rl-2103.adoc[]
include::rl-2009.adoc[] include::rl-2009.adoc[]
include::rl-2003.adoc[] include::rl-2003.adoc[]

View file

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

View file

@ -0,0 +1,21 @@
[[sec-release-21.03]]
== Release 21.03
This is the current unstable branch and the information in this
section is therefore not final.
[[sec-release-21.03-highlights]]
=== Highlights
This release has the following notable changes:
* Nothing has happened.
[[sec-release-21.03-state-version-changes]]
=== State Version Changes
The state version in this release includes the changes below. These
changes are only active if the `home.stateVersion` option is set to
"21.03" or later.
* Nothing has happened.

View file

@ -45,7 +45,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 = "20.09"; home.stateVersion = "21.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" "20.09" ]; type = types.enum [ "18.09" "19.03" "19.09" "20.03" "20.09" "21.03" ];
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