Skip to content

Commit

Permalink
home-manager: prepare release 24.05
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed May 25, 2024
1 parent 850cb32 commit 548ba19
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.11`). These branches get
corresponding to NixOS releases (e.g. `release-24.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 All @@ -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.11 (the current
Home Manager targets [NixOS][] unstable and NixOS version 24.05 (the current
stable version), it may or may not work on other Linux distributions and NixOS
versions.

Expand Down
6 changes: 3 additions & 3 deletions docs/manual/installation/nix-darwin.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ $ nix-channel --add https://github.com/nix-community/home-manager/archive/master
$ nix-channel --update
```

and if you follow a Nixpkgs version 23.11 channel, you can run
and if you follow a Nixpkgs version 24.05 channel, you can run

``` shell
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
$ nix-channel --update
```

Expand All @@ -45,7 +45,7 @@ home-manager.users.eve = { pkgs, ... }: {
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "23.11";
home.stateVersion = "24.05";
};
```

Expand Down
6 changes: 3 additions & 3 deletions docs/manual/installation/nixos.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ $ 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.11 channel, you can run
and if you follow a Nixpkgs version 24.05 channel, you can run

``` shell
$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
$ sudo nix-channel --update
```

Expand All @@ -44,7 +44,7 @@ home-manager.users.eve = { pkgs, ... }: {
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "23.11";
home.stateVersion = "24.05";
};
```

Expand Down
4 changes: 2 additions & 2 deletions docs/manual/installation/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
$ nix-channel --update
```

and if you follow a Nixpkgs version 23.11 channel you can run
and if you follow a Nixpkgs version 24.05 channel you can run

``` shell
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
$ nix-channel --update
```

Expand Down
6 changes: 3 additions & 3 deletions docs/manual/nix-flakes/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ then to generate and activate a basic configuration run the command
$ nix run home-manager/master -- init --switch
```

For Nixpkgs or NixOS version 23.11 run
For Nixpkgs or NixOS version 24.05 run

``` shell
$ nix run home-manager/release-23.11 -- init --switch
$ nix run home-manager/release-24.05 -- init --switch
```

This will generate a `flake.nix` and a `home.nix` file in
Expand All @@ -30,7 +30,7 @@ $ # Edit files in ~/.config/home-manager
$ nix run home-manager/$branch -- init --switch
```

Where `$branch` is one of `master` or `release-23.11`.
Where `$branch` is one of `master` or `release-24.05`.

After the initial activation has completed successfully then building
and activating your flake-based configuration is as simple as
Expand Down
4 changes: 2 additions & 2 deletions docs/manual/usage/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A fresh install of Home Manager will generate a minimal
# 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.11";
home.stateVersion = "24.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
Expand Down Expand Up @@ -65,7 +65,7 @@ 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.11";
home.stateVersion = "24.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
Expand Down
5 changes: 2 additions & 3 deletions docs/release-notes/rl-2405.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Release 24.05 {#sec-release-24.05}

This is the current unstable branch and the information in this section
is therefore not final.
The 24.05 release branch became stable in May, 2024.

## Highlights {#sec-release-24.05-highlights}

Expand Down Expand Up @@ -89,4 +88,4 @@ The state version in this release includes the changes below. These
changes are only active if the `home.stateVersion` option is set to
\"24.05\" or later.

- Nothing, yet.
- There was no state version change in this release.
4 changes: 2 additions & 2 deletions home-manager/home-manager
Original file line number Diff line number Diff line change
Expand Up @@ -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.11"; # Please read the comment before changing.
home.stateVersion = "24.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
Expand Down Expand Up @@ -857,7 +857,7 @@ function doUninstall() {
uninstall = true;
home.username = "$USER";
home.homeDirectory = "$HOME";
home.stateVersion = "23.11";
home.stateVersion = "24.05";
}
EOF
# shellcheck disable=2064
Expand Down
2 changes: 1 addition & 1 deletion modules/misc/uninstall.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ in {
config = mkIf config.uninstall {
home.packages = lib.mkForce [ ];
home.file = lib.mkForce { };
home.stateVersion = lib.mkForce "23.11";
home.stateVersion = lib.mkForce "24.05";
home.enableNixpkgsReleaseCheck = lib.mkForce false;
manual.manpages.enable = lib.mkForce false;
news.display = lib.mkForce "silent";
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/nixos/basics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
};

home-manager.users.alice = { ... }: {
home.stateVersion = "23.11";
home.stateVersion = "24.05";
home.file.test.text = "testfile";
# Enable a light-weight systemd service.
services.pueue.enable = true;
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/standalone/alice-home-init.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# 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.11"; # Please read the comment before changing.
home.stateVersion = "24.05"; # Please read the comment before changing.

# The home.packages option allows you to install Nix packages into your
# environment.
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/standalone/alice-home-next.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
home.username = "alice";
home.homeDirectory = "/home/alice";
home.stateVersion = "23.11";
home.stateVersion = "24.05";
home.packages = [ pkgs.hello ];
home.file.test.text = "test";
home.sessionVariables.EDITOR = "emacs";
Expand Down

0 comments on commit 548ba19

Please sign in to comment.