home-manager: use 21.05 as next version

Fixes #1662
This commit is contained in:
Robert Helgesson 2021-02-05 22:08:34 +01:00
parent 63d5d28db6
commit 46a750f94f
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
5 changed files with 10 additions and 9 deletions

View file

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

View file

@ -1,10 +1,10 @@
[[sec-release-21.03]]
== Release 21.03
[[sec-release-21.05]]
== Release 21.05
This is the current unstable branch and the information in this
section is therefore not final.
[[sec-release-21.03-highlights]]
[[sec-release-21.05-highlights]]
=== Highlights
This release has the following notable changes:
@ -72,11 +72,11 @@ programs.rofi.extraConfig = {
};
----
[[sec-release-21.03-state-version-changes]]
[[sec-release-21.05-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.
"21.05" or later.
* Nothing has happened.

View file

@ -513,7 +513,7 @@ while [[ $# -gt 0 ]]; do
export VERBOSE=1
;;
--version)
echo 21.03
echo 21.05
exit 0
;;
*)

View file

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

View file

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