1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

home-manager: set 25.05 as stable

This commit is contained in:
Robert Helgesson 2025-05-18 10:18:14 +02:00
parent ae75532909
commit e08e6e2389
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
10 changed files with 21 additions and 22 deletions

View file

@ -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-24.11`). These branches get
corresponding to NixOS releases (e.g. `release-25.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.
@ -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 24.11 (the current
Home Manager targets [NixOS][] unstable and NixOS version 25.05 (the current
stable version), it may or may not work on other Linux distributions and NixOS
versions.

View file

@ -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 24.11 channel, you can run
and if you follow a Nixpkgs version 25.05 channel, you can run
``` shell
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz home-manager
$ nix-channel --update
```
@ -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 = "24.11";
home.stateVersion = "25.05";
};
```

View file

@ -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 24.11 channel, you can run
and if you follow a Nixpkgs version 25.05 channel, you can run
``` shell
$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager
$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz home-manager
$ sudo nix-channel --update
```
@ -39,7 +39,7 @@ Alternatively, home-manager installation can be done declaratively through confi
{ config, pkgs, lib, ... }:
let
home-manager = builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz;
home-manager = builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz;
in
{
imports =
@ -54,7 +54,7 @@ in
# The state version is required and should stay at the version you
# originally installed.
home.stateVersion = "24.11";
home.stateVersion = "25.05";
};
}
```

View file

@ -19,10 +19,10 @@
$ nix-channel --update
```
and if you follow a Nixpkgs version 24.11 channel you can run
and if you follow a Nixpkgs version 25.05 channel you can run
``` shell
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz home-manager
$ nix-channel --update
```

View file

@ -1,6 +1,6 @@
# Home Manager Manual {#home-manager-manual}
## Version 25.05 (unstable)
## Version 25.05
```{=include=} preface

View file

@ -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 24.11 run
For Nixpkgs or NixOS version 25.05 run
``` shell
$ nix run home-manager/release-24.11 -- init --switch
$ nix run home-manager/release-25.05 -- init --switch
```
This will generate a `flake.nix` and a `home.nix` file in
@ -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-24.11`.
Where `$branch` is one of `master` or `release-25.05`.
After the initial activation has completed successfully then building
and activating your flake-based configuration is as simple as

View file

@ -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 = "24.11";
home.stateVersion = "25.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
@ -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 = "24.11";
home.stateVersion = "25.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

View file

@ -1,7 +1,6 @@
# Release 25.05 {#sec-release-25.05}
This is the current unstable branch and the information in this
section is therefore not final.
The 25.05 release branch became stable in May, 2025.
## Highlights {#sec-release-25.05-highlights}

View file

@ -360,7 +360,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 = "24.11"; # Please read the comment before changing.
home.stateVersion = "25.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
@ -860,7 +860,7 @@ function doUninstall() {
uninstall = true;
home.username = "$(escapeForNix "$USER")";
home.homeDirectory = "$(escapeForNix "$HOME")";
home.stateVersion = "24.11";
home.stateVersion = "25.05";
}
EOF
# shellcheck disable=2064

View file

@ -22,7 +22,7 @@ in
config = mkIf config.uninstall {
home.packages = lib.mkForce [ ];
home.file = lib.mkForce { };
home.stateVersion = lib.mkForce "24.11";
home.stateVersion = lib.mkForce "25.05";
home.enableNixpkgsReleaseCheck = lib.mkForce false;
manual.manpages.enable = lib.mkForce false;
news.display = lib.mkForce "silent";