Skip to content

Commit

Permalink
docs: set 22.05 as stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Jun 1, 2022
1 parent 1808cb6 commit ac2287d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
distributions and NixOS versions.

Expand Down Expand Up @@ -106,7 +106,7 @@ Home Manager is developed against `nixpkgs-unstable` branch, which
often causes it to contain tweaks for changes/packages not yet
released in stable NixOS. To avoid breaking users' configurations,
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
an issue.

Expand Down
12 changes: 6 additions & 6 deletions docs/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master
$ 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]
----
$ 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
----
+
Expand Down Expand Up @@ -136,11 +136,11 @@ or an unstable channel, you can run
# 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]
----
# 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
----

Expand Down Expand Up @@ -247,11 +247,11 @@ or an unstable channel, you can run
# 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]
----
# 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
----

Expand Down
8 changes: 4 additions & 4 deletions docs/nix-flakes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Remove the line containing `home.stateVersion` in the example.
# Update the state version as needed.
# See the changelog here:
# https://nix-community.github.io/home-manager/release-notes.html#sec-release-21.05
stateVersion = "21.11";
stateVersion = "22.05";
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
Expand All @@ -85,9 +85,9 @@ Remove the line containing `home.stateVersion` in the example.
====
* The above example tracks the master branch of Home Manager
and nixos-unstable branch of Nixpkgs.
If you would like to use the `release-21.11` branch,
change the `home-manager` input url to `github:nix-community/home-manager/release-21.11`
and `nixpkgs` url to `github:NixOS/nixpkgs/nixos-21.11`.
If you would like to use the `release-22.05` branch,
change the `home-manager` input url to `github:nix-community/home-manager/release-22.05`
and `nixpkgs` url to `github:NixOS/nixpkgs/nixos-22.05`.
Make sure to also update to the `stateVersion` option accordingly.
* The Home Manager library is exported by the flake under
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes/rl-2205.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[[sec-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]]
=== Highlights
Expand Down

0 comments on commit ac2287d

Please sign in to comment.