2024-11-17 23:39:12 +01:00
|
|
|
# Release 25.05 {#sec-release-25.05}
|
|
|
|
|
|
|
|
This is the current unstable branch and the information in this
|
|
|
|
section is therefore not final.
|
|
|
|
|
|
|
|
## Highlights {#sec-release-25.05-highlights}
|
|
|
|
|
|
|
|
This release has the following notable changes:
|
|
|
|
|
2024-10-24 07:54:56 +02:00
|
|
|
- The [](#opt-systemd.user.startServices) option now defaults to
|
|
|
|
`true`, meaning that services will automatically be restarted as
|
|
|
|
needed when activating a configuration.
|
|
|
|
|
|
|
|
Further, the `"legacy"` alternative has been removed and will now
|
|
|
|
result in an evaluation error if used.
|
|
|
|
|
|
|
|
The `"suggest"` alternative will remain for a while longer but may
|
|
|
|
also be deprecated for removal in the future.
|
2024-11-17 23:39:12 +01:00
|
|
|
|
2025-01-24 19:59:46 +01:00
|
|
|
- The Home Manager test suite has been removed from the main Nix Flake
|
|
|
|
since it caused unnecessary evaluations and downloads. Instead the
|
|
|
|
tests are available through a Nix Flake file inside the `tests`
|
|
|
|
directory. See [](#sec-tests) for example commands.
|
|
|
|
|
2025-03-16 10:06:57 -04:00
|
|
|
- The Home Manager NixOS module now supports
|
|
|
|
[home-manager.users](#nixos-opt-home-manager.users) entries that do not have
|
|
|
|
corresponding `users.users.<name>` entries, making it easier to provide Home
|
|
|
|
Manager configurations for users managed through external identity management
|
|
|
|
systems. To take advantage of this, such users must have their
|
|
|
|
[](#opt-home.username) and [](#opt-home.homeDirectory) attributes set to
|
|
|
|
high-precedence values with `lib.mkForce` or similar, overriding the defaults
|
|
|
|
that pull from, respectively, `users.users.<name>.name` and
|
|
|
|
`users.users.<name>.home`.
|
|
|
|
|
2025-03-16 10:07:48 -04:00
|
|
|
- The Home Manager NixOS module option
|
|
|
|
[home-manager.useUserPackages](#nixos-opt-home-manager.useUserPackages) now
|
|
|
|
sets the default value of the newly-introduced per-user
|
|
|
|
[](#opt-home.useUserPackages) option, making it possible to define a policy
|
|
|
|
on the use of `users.users.<name>.packages` for package installation, and to
|
|
|
|
override that policy on a user-specific basis.
|
|
|
|
|
2024-11-17 23:39:12 +01:00
|
|
|
## State Version Changes {#sec-release-25.05-state-version-changes}
|
|
|
|
|
|
|
|
The state version in this release includes the changes below. These
|
|
|
|
changes are only active if the `home.stateVersion` option is set to
|
|
|
|
\"25.05\" or later.
|
|
|
|
|
|
|
|
- No changes.
|