aboutsummaryrefslogtreecommitdiff
path: root/doc/release-notes/rl-2009.adoc
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2020-07-31 00:33:12 +0200
committerRobert Helgesson <robert@rycee.net>2020-08-19 00:33:25 +0200
commit9854342b9f088712ca3c5b67059fff5ec4f59182 (patch)
tree74d86bf1b86037de6ef3471324788a0acd02e4c1 /doc/release-notes/rl-2009.adoc
parenta3dd580adc46628dd0c970037b6c87cff1251af5 (diff)
nixpkgs: take Nixpkgs path from argument
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
Diffstat (limited to 'doc/release-notes/rl-2009.adoc')
-rw-r--r--doc/release-notes/rl-2009.adoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release-notes/rl-2009.adoc b/doc/release-notes/rl-2009.adoc
index 7657033f105..7740646a961 100644
--- a/doc/release-notes/rl-2009.adoc
+++ b/doc/release-notes/rl-2009.adoc
@@ -45,3 +45,10 @@ 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.