mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
b95ad63201
This removes the use of the non-deterministic function `builtins.getEnv` for state version ≥ 20.09. PR #1269
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
[[sec-release-20.09]]
|
|
== Release 20.09 (unreleased)
|
|
|
|
This is the current unstable branch and the information in this
|
|
section is therefore not final.
|
|
|
|
[[sec-release-20.09-highlights]]
|
|
=== Highlights
|
|
|
|
This release has the following notable changes:
|
|
|
|
* Nothing has happened.
|
|
|
|
[[sec-release-20.09-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
|
|
"20.09" or later.
|
|
|
|
* The options <<opt-home.homeDirectory>> and <<opt-home.username>> no
|
|
longer have default values and must therefore be provided in your
|
|
configuration. Previously their values would default to the content of
|
|
the environment variables `HOME` and `USER`, respectively.
|
|
+
|
|
--
|
|
Further, the options <<opt-xdg.cacheHome>>, <<opt-xdg.configHome>>,
|
|
and <<opt-xdg.dataHome>> will no longer be affected by the
|
|
`XDG_CACHE_HOME`, `XDG_CONFIG_HOME`, and `XDG_DATA_HOME` environment
|
|
variables. They now unconditionally default to
|
|
|
|
- `"${config.home.homeDirectory}/.cache"`,
|
|
- `"${config.home.homeDirectory}/.config"`, and
|
|
- `"${config.home.homeDirectory}/.local/share"`.
|
|
|
|
If you choose to switch to state version 20.09 then you must set these
|
|
options if you use non-default XDG base directory paths.
|
|
|
|
The initial configuration generated by
|
|
|
|
[source,console]
|
|
$ nix-shell '<home-manager>' -A install
|
|
|
|
will automatically include these options, when necessary.
|
|
--
|