docs: set 22.05 as stable version

This commit is contained in:
Robert Helgesson 2022-06-01 21:28:33 +02:00
parent 1808cb66aa
commit ac2287df5a
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
4 changed files with 13 additions and 13 deletions

View file

@ -41,7 +41,7 @@ will write to your dconf store and cannot tell whether a configuration
that it is about to be overwritten was from a previous Home Manager that it is about to be overwritten was from a previous Home Manager
generation or from manual configuration. generation or from manual configuration.
Home Manager targets [NixOS][] unstable and NixOS version 21.11 (the Home Manager targets [NixOS][] unstable and NixOS version 22.05 (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.
@ -106,7 +106,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-21.11`). These branches get fixes, but usually not new (e.g. `release-22.05`). 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

@ -54,11 +54,11 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master
$ nix-channel --update $ nix-channel --update
---- ----
+ +
and if you follow a Nixpkgs version 21.11 channel you can run and if you follow a Nixpkgs version 22.05 channel you can run
+ +
[source,console] [source,console]
---- ----
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz home-manager $ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager
$ nix-channel --update $ nix-channel --update
---- ----
+ +
@ -136,11 +136,11 @@ or an unstable channel, you can run
# nix-channel --update # nix-channel --update
---- ----
and if you follow a Nixpkgs version 21.11 channel, you can run and if you follow a Nixpkgs version 22.05 channel, you can run
[source,console] [source,console]
---- ----
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz home-manager # nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager
# nix-channel --update # nix-channel --update
---- ----
@ -247,11 +247,11 @@ or an unstable channel, you can run
# nix-channel --update # nix-channel --update
---- ----
and if you follow a Nixpkgs version 21.11 channel, you can run and if you follow a Nixpkgs version 22.05 channel, you can run
[source,console] [source,console]
---- ----
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz home-manager # nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager
# nix-channel --update # nix-channel --update
---- ----

View file

@ -72,7 +72,7 @@ Remove the line containing `home.stateVersion` in the example.
# Update the state version as needed. # Update the state version as needed.
# See the changelog here: # See the changelog here:
# https://nix-community.github.io/home-manager/release-notes.html#sec-release-21.05 # https://nix-community.github.io/home-manager/release-notes.html#sec-release-21.05
stateVersion = "21.11"; stateVersion = "22.05";
# Optionally use extraSpecialArgs # Optionally use extraSpecialArgs
# to pass through arguments to home.nix # to pass through arguments to home.nix
@ -85,9 +85,9 @@ Remove the line containing `home.stateVersion` in the example.
==== ====
* The above example tracks the master branch of Home Manager * The above example tracks the master branch of Home Manager
and nixos-unstable branch of Nixpkgs. and nixos-unstable branch of Nixpkgs.
If you would like to use the `release-21.11` branch, If you would like to use the `release-22.05` branch,
change the `home-manager` input url to `github:nix-community/home-manager/release-21.11` change the `home-manager` input url to `github:nix-community/home-manager/release-22.05`
and `nixpkgs` url to `github:NixOS/nixpkgs/nixos-21.11`. and `nixpkgs` url to `github:NixOS/nixpkgs/nixos-22.05`.
Make sure to also update to the `stateVersion` option accordingly. Make sure to also update to the `stateVersion` option accordingly.
* The Home Manager library is exported by the flake under * The Home Manager library is exported by the flake under

View file

@ -1,7 +1,7 @@
[[sec-release-22.05]] [[sec-release-22.05]]
== Release 22.05 == Release 22.05
This is the current unstable branch and the information in this section is therefore not final. The 22.05 release branch became the stable branch in May, 2022.
[[sec-release-22.05-highlights]] [[sec-release-22.05-highlights]]
=== Highlights === Highlights