9854342b9f
This removes the dependency on the `nixpkgs` channel within the modules for state version ≥ 20.09. The default Nixpkgs source starting from this state version is the path of the `pkgs` argument used to bootstrap the Home Manager modeuls. This is a prerequisite for using Home Manager withing Nix flakes. PR #1420
55 lines
2.2 KiB
Plaintext
55 lines
2.2 KiB
Plaintext
[[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.
|
|
--
|
|
|
|
* Git's `smtpEncryption` option is now set to `tls` only if both <<opt-accounts.email.accounts.\_name_.smtp.tls.enable>> and <<opt-accounts.email.accounts.\_name_.smtp.tls.useStartTls>> are `true`. If only <<opt-accounts.email.accounts.\_name_.smtp.tls.enable>> is `true`, `ssl` is used instead.
|
|
|
|
* The `nixpkgs` module no longer references `<nixpkgs>`. Before it would do so when building the `pkgs` module argument. Starting with state version 20.09, the `pkgs` argument is instead built from the same Nixpkgs that was used to initialize the Home Manager modules. This is useful, for example, when using Home Manager within a Nix Flake. If you want to keep using `<nixpkgs>` with state version ≥ 20.09 then add
|
|
+
|
|
[source,nix]
|
|
_module.args.pkgsPath = <nixpkgs>;
|
|
+
|
|
to your Home Manager configuration.
|