mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
docs: set 22.05 as stable version
This commit is contained in:
parent
1808cb66aa
commit
ac2287df5a
4 changed files with 13 additions and 13 deletions
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
----
|
||||
+
|
||||
|
@ -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
|
||||
----
|
||||
|
||||
|
@ -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
|
||||
----
|
||||
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue