From 71fa4cdf9cd89a3e0d452439b6a2f7f01d6292e9 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 2 Dec 2022 11:49:58 +0100 Subject: [PATCH] home-manager: update stable version to 22.11 --- README.md | 4 ++-- docs/installation.adoc | 12 ++++++------ docs/nix-flakes.adoc | 6 +++--- docs/usage.adoc | 4 ++-- home-manager/home-manager | 2 +- home-manager/install.nix | 2 +- modules/misc/version.nix | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 25a2cfc4..f792af54 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,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 22.05 (the +Home Manager targets [NixOS][] unstable and NixOS version 22.11 (the current stable version), it may or may not work on other Linux distributions and NixOS versions. @@ -107,7 +107,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-22.05`). These branches get fixes, but usually not new +(e.g. `release-22.11`). These branches get fixes, but usually not new modules. If you need a module to be backported, then feel free to open an issue. diff --git a/docs/installation.adoc b/docs/installation.adoc index 1862f616..657b11d4 100644 --- a/docs/installation.adoc +++ b/docs/installation.adoc @@ -51,11 +51,11 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master $ nix-channel --update ---- + -and if you follow a Nixpkgs version 22.05 channel you can run +and if you follow a Nixpkgs version 22.11 channel you can run + [source,console] ---- -$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager +$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz home-manager $ nix-channel --update ---- + @@ -133,11 +133,11 @@ $ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/m $ sudo nix-channel --update ---- -and if you follow a Nixpkgs version 22.05 channel, you can run +and if you follow a Nixpkgs version 22.11 channel, you can run [source,console] ---- -$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager +$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz home-manager $ sudo nix-channel --update ---- @@ -244,11 +244,11 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master $ nix-channel --update ---- -and if you follow a Nixpkgs version 22.05 channel, you can run +and if you follow a Nixpkgs version 22.11 channel, you can run [source,console] ---- -$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager +$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz home-manager $ nix-channel --update ---- diff --git a/docs/nix-flakes.adoc b/docs/nix-flakes.adoc index 2a0e1da3..412dafa6 100644 --- a/docs/nix-flakes.adoc +++ b/docs/nix-flakes.adoc @@ -90,9 +90,9 @@ writing a Home Manager configuration. ==== * The above example tracks the master branch of Home Manager and nixos-unstable branch of Nixpkgs. -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`. +If you would like to use the `release-22.11` branch, +change the `home-manager` input url to `github:nix-community/home-manager/release-22.11` +and `nixpkgs` url to `github:NixOS/nixpkgs/nixos-22.11`. * The Home Manager library is exported by the flake under `lib.hm`. diff --git a/docs/usage.adoc b/docs/usage.adoc index 26b9eee7..adac7b72 100644 --- a/docs/usage.adoc +++ b/docs/usage.adoc @@ -52,7 +52,7 @@ A fresh install of Home Manager will generate a minimal `~/.config/nixpkgs/home. # 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 = "22.05"; + home.stateVersion = "22.11"; # Let Home Manager install and manage itself. programs.home-manager.enable = true; @@ -92,7 +92,7 @@ To satisfy the above setup we should elaborate the `home.nix` file as follows: # 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 = "22.05"; + home.stateVersion = "22.11"; # Let Home Manager install and manage itself. programs.home-manager.enable = true; diff --git a/home-manager/home-manager b/home-manager/home-manager index cbf3e883..9a5af6d9 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -664,7 +664,7 @@ while [[ $# -gt 0 ]]; do export VERBOSE=1 ;; --version) - echo 22.05 + echo 22.11 exit 0 ;; *) diff --git a/home-manager/install.nix b/home-manager/install.nix index f69508a8..f4bcbb3f 100644 --- a/home-manager/install.nix +++ b/home-manager/install.nix @@ -54,7 +54,7 @@ in 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 = "22.05"; + home.stateVersion = "22.11"; # Let Home Manager install and manage itself. programs.home-manager.enable = true; diff --git a/modules/misc/version.nix b/modules/misc/version.nix index b729fbb4..0c590372 100644 --- a/modules/misc/version.nix +++ b/modules/misc/version.nix @@ -42,7 +42,7 @@ with lib; suffix = optionalString (revision != null) "+${substring 0 8 revision}"; in "${release}${suffix}"; - example = "22.05+213a0629"; + example = "22.11+213a0629"; description = "The full Home Manager version."; }; @@ -51,7 +51,7 @@ with lib; readOnly = true; type = types.str; default = fileContents ../../.release; - example = "22.05"; + example = "22.11"; description = "The Home Manager release."; };