diff --git a/pills/16-nixpkgs-parameters.xml b/pills/16-nixpkgs-parameters.xml
index 74dd7cf..631362b 100644
--- a/pills/16-nixpkgs-parameters.xml
+++ b/pills/16-nixpkgs-parameters.xml
@@ -63,10 +63,10 @@
The config parameter
- I'm sure on the wiki or other manuals you've read about ~/.nixpkgs/config.nix and I'm sure you've wondered whether that's hardcoded in nix. It's not, it's in nixpkgs.
+ I'm sure on the wiki or other manuals you've read about ~/.config/nixpkgs/config.nix (previously ~/.nixpkgs/config.nix) and I'm sure you've wondered whether that's hardcoded in nix. It's not, it's in nixpkgs.
- The all-packages.nix expression accepts the config parameter. If it's null, then it reads the NIXPKGS_CONFIG environment variable. If not specified, nixpkgs will peek $HOME/.nixpkgs/config.nix.
+ The all-packages.nix expression accepts the config parameter. If it's null, then it reads the NIXPKGS_CONFIG environment variable. If not specified, nixpkgs will peek $HOME/.config/nixpkgs/config.nix.
After determining config.nix, it will be imported as nix expression, and that will be the value of config (in case it hasn't been passed as parameter to import <nixpkgs>).
diff --git a/pills/17-nixpkgs-overriding-packages.xml b/pills/17-nixpkgs-overriding-packages.xml
index c446642..fe00abe 100644
--- a/pills/17-nixpkgs-overriding-packages.xml
+++ b/pills/17-nixpkgs-overriding-packages.xml
@@ -108,12 +108,12 @@
- The ~/.nixpkgs/config.nix file
+ The ~/.config/nixpkgs/config.nix file
- In the previous pill we already talked about this file. The above config.nix that we just wrote could be the content of ~/.nixpkgs/config.nix.
+ In the previous pill we already talked about this file. The above config.nix that we just wrote could be the content of ~/.config/nixpkgs/config.nix (or the deprecated location ~/.nixpkgs/config.nix).
- Instead of passing it explicitly whenever we import nixpkgs, it will be automatically imported by nixpkgs.
+ Instead of passing it explicitly whenever we import nixpkgs, it will be automatically imported by nixpkgs.