mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 10:49:44 +01:00
53ccbe0170
* home-environment: add `home.sessionVariablesPackage` Allow the `hm-session-vars.sh` derivation to be referenced from other modules, e.g. to translate it to fish with babelfish at build time. * fish: use babelfish for `hm-session-vars.sh` Translate `hm-session-vars.sh` to fish at system build time, significantly decreasing shell startup time. Based on https://github.com/NixOS/nixpkgs/pull/108947 by @kevingriffin.
65 lines
2.3 KiB
Text
65 lines
2.3 KiB
Text
[[sec-release-23.05]]
|
|
== Release 23.05
|
|
|
|
The 23.05 release branch became the stable branch in May, 2023.
|
|
|
|
[[sec-release-23.05-highlights]]
|
|
=== Highlights
|
|
|
|
This release has the following notable changes:
|
|
|
|
* Firefox add-ons are now managed per-profile.
|
|
That is, if you are currently having
|
|
+
|
|
[source,nix]
|
|
programs.firefox.extensions = [ foo bar ];
|
|
+
|
|
in your configuration then you must change it to
|
|
+
|
|
[source,nix]
|
|
programs.firefox.profiles.myprofile.extensions = [ foo bar ];
|
|
|
|
* The default configuration location has been changed from
|
|
`~/.config/nixpkgs/home.nix` to `~/.config/home-manager/home.nix`.
|
|
+
|
|
Similarly, if you are using a Nix flake based setup
|
|
then the default flake file location has changed from
|
|
`~/.config/nixpkgs/flake.nix` to `~/.config/home-manager/flake.nix`.
|
|
+
|
|
The old location will continue to work but using it will trigger a warning message.
|
|
We changed the default configuration location to avoid confusion about
|
|
which files belong to Home Manager and which belong to Nixpkgs.
|
|
|
|
* The `home-manager` tool now offers an `init` command.
|
|
This command can be used to generate an initial Home Manager configuration,
|
|
and optionally also activate it.
|
|
The recommended installation method for a standalone Home Manager setup
|
|
with Nix flakes uses this new command.
|
|
The standard installation method remains the same but uses the new command internally.
|
|
See <<sec-flakes-standalone>> for more.
|
|
|
|
* When using <<opt-programs.fish.enable>>, the setup code
|
|
for <<opt-home.sessionVariables>> is now translated
|
|
with https://github.com/bouk/babelfish[babelfish].
|
|
This should result in significantly faster shell startup times
|
|
but could theoretically break
|
|
if you have very complex bash expressions in a session variable.
|
|
Please report any issues you experience.
|
|
|
|
[[sec-release-23.05-state-version-changes]]
|
|
=== 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 "23.05" or later.
|
|
|
|
* The options
|
|
+
|
|
--
|
|
- <<opt-xsession.windowManager.i3.config.window.titlebar>>
|
|
- <<opt-xsession.windowManager.i3.config.floating.titlebar>>
|
|
- <<opt-wayland.windowManager.sway.config.window.titlebar>>
|
|
- <<opt-wayland.windowManager.sway.config.floating.titlebar>>
|
|
--
|
|
+
|
|
now default to `true` which is consistent with the default values for
|
|
those options used by `i3` and `sway`.
|