From aeb2232d7a32530d3448318790534d196bf9427a Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 24 Nov 2023 08:41:17 +0100 Subject: [PATCH] home-manager: set stable release to 23.11 --- .github/dependabot.yml | 8 ++++++++ .github/workflows/test.yml | 2 +- README.md | 4 ++-- docs/installation.adoc | 16 ++++++++-------- docs/nix-flakes.adoc | 6 +++--- docs/release-notes/rl-2311.adoc | 2 +- docs/usage.adoc | 4 ++-- home-manager/home-manager | 2 +- 8 files changed, 26 insertions(+), 18 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 97d69dea..76b9adfa 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,11 @@ updates: interval: "weekly" commit-message: prefix: "ci:" + + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "release-23.11" + schedule: + interval: "weekly" + commit-message: + prefix: "ci:" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4720f332..c862e4f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v23 with: - nix_path: nixpkgs=channel:nixos-unstable + nix_path: nixpkgs=channel:nixos-23.11 - uses: cachix/cachix-action@v12 with: name: nix-community diff --git a/README.md b/README.md index b25c58ca..0a551145 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Releases 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-23.05`). These branches get +corresponding to NixOS releases (e.g. `release-23.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. @@ -49,7 +49,7 @@ 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 23.05 (the current +Home Manager targets [NixOS][] unstable and NixOS version 23.11 (the current stable version), it may or may not work on other Linux distributions and NixOS versions. diff --git a/docs/installation.adoc b/docs/installation.adoc index cfec9d10..3072222d 100644 --- a/docs/installation.adoc +++ b/docs/installation.adoc @@ -58,11 +58,11 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master $ nix-channel --update ---- + -and if you follow a Nixpkgs version 23.05 channel you can run +and if you follow a Nixpkgs version 23.11 channel you can run + [source,console] ---- -$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager +$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager $ nix-channel --update ---- @@ -130,11 +130,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 23.05 channel, you can run +and if you follow a Nixpkgs version 23.11 channel, you can run [source,console] ---- -$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager +$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager $ sudo nix-channel --update ---- @@ -158,7 +158,7 @@ home-manager.users.eve = { pkgs, ... }: { # The state version is required and should stay at the version you # originally installed. - home.stateVersion = "23.05"; + home.stateVersion = "23.11"; }; ---- @@ -254,11 +254,11 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master $ nix-channel --update ---- -and if you follow a Nixpkgs version 23.05 channel, you can run +and if you follow a Nixpkgs version 23.11 channel, you can run [source,console] ---- -$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager +$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager $ nix-channel --update ---- @@ -285,7 +285,7 @@ home-manager.users.eve = { pkgs, ... }: { # The state version is required and should stay at the version you # originally installed. - home.stateVersion = "23.05"; + home.stateVersion = "23.11"; }; ---- diff --git a/docs/nix-flakes.adoc b/docs/nix-flakes.adoc index 21ccda91..0e31602d 100644 --- a/docs/nix-flakes.adoc +++ b/docs/nix-flakes.adoc @@ -79,10 +79,10 @@ then to generate and activate a basic configuration run the command [source,console] $ nix run home-manager/master -- init --switch -For Nixpkgs or NixOS version 23.05 run +For Nixpkgs or NixOS version 23.11 run [source,console] -$ nix run home-manager/release-23.05 -- init --switch +$ nix run home-manager/release-23.11 -- init --switch This will generate a `flake.nix` and a `home.nix` file in `~/.config/home-manager`, creating the directory if it does not exist. @@ -97,7 +97,7 @@ $ # Edit files in ~/.config/home-manager $ nix run home-manager/$branch -- init --switch ---- -Where `$branch` is one of `master` or `release-23.05`. +Where `$branch` is one of `master` or `release-23.11`. After the initial activation has completed successfully then building and activating your flake-based configuration is as simple as diff --git a/docs/release-notes/rl-2311.adoc b/docs/release-notes/rl-2311.adoc index 172cfd60..a7bb56a1 100644 --- a/docs/release-notes/rl-2311.adoc +++ b/docs/release-notes/rl-2311.adoc @@ -1,7 +1,7 @@ [[sec-release-23.11]] == Release 23.11 -This is the current unstable branch and the information in this section is therefore not final. +The 23.11 release branch became stable in November, 2023. [[sec-release-23.11-highlights]] === Highlights diff --git a/docs/usage.adoc b/docs/usage.adoc index 00ce347e..8fd750bc 100644 --- a/docs/usage.adoc +++ b/docs/usage.adoc @@ -59,7 +59,7 @@ A fresh install of Home Manager will generate a minimal `~/.config/home-manager/ # 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 = "23.05"; + home.stateVersion = "23.11"; # Let Home Manager install and manage itself. programs.home-manager.enable = true; @@ -99,7 +99,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 = "23.05"; + home.stateVersion = "23.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 f58cf96d..6f2ba38b 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -359,7 +359,7 @@ $xdgVars # You should not change this value, even if you update Home Manager. If you do # want to update the value, then make sure to first check the Home Manager # release notes. - home.stateVersion = "23.05"; # Please read the comment before changing. + home.stateVersion = "23.11"; # Please read the comment before changing. # The home.packages option allows you to install Nix packages into your # environment.