diff --git a/doc/overlays.xml b/doc/overlays.xml
index 540c83e0a39..4b95f3e7288 100644
--- a/doc/overlays.xml
+++ b/doc/overlays.xml
@@ -34,7 +34,7 @@ first one present is considered, and all the rest are ignored:
- In the directory ~/.nixpkgs/overlays/.
+ In the directory ~/.config/nixpkgs/overlays/.
@@ -50,7 +50,7 @@ the same recipe. In the case where overlays are loaded from a directory, they ar
alphabetical order.
To install an overlay using the last option, you can clone the overlay's repository and add
-a symbolic link to it in ~/.nixpkgs/overlays/ directory.
+a symbolic link to it in ~/.config/nixpkgs/overlays/ directory.