diff --git a/doc/configuration.xml b/doc/configuration.xml
index ce25bbfce77..ffeb7cf554b 100644
--- a/doc/configuration.xml
+++ b/doc/configuration.xml
@@ -89,7 +89,7 @@ packages via packageOverrides
You can define a function called
packageOverrides in your local
-~/.nixpkgs/config to overide nix packages. It
+~/.nixpkgs/config.nix to overide nix packages. It
must be a function that takes pkgs as an argument and return modified
set of packages.