summary refs log tree commit diff
path: root/lib/modules.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-11-22 14:39:44 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-11-22 16:10:18 +0100
commit426ab31fdeb828886c22ec0e561eca2b90b84b94 (patch)
tree57fb12817b56132cbae06478c198619e3306477e /lib/modules.nix
parent42133e84517a8aef0de2788160055494284a0447 (diff)
downloadnixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.tar
nixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.tar.gz
nixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.tar.bz2
nixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.tar.lz
nixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.tar.xz
nixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.tar.zst
nixpkgs-426ab31fdeb828886c22ec0e561eca2b90b84b94.zip
modules: Document that extendModules is also a module argument
Diffstat (limited to 'lib/modules.nix')
-rw-r--r--lib/modules.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/modules.nix b/lib/modules.nix
index 92ddc8c5bc7..b381487f68e 100644
--- a/lib/modules.nix
+++ b/lib/modules.nix
@@ -74,6 +74,8 @@ rec {
             override existing configuration fundamentally requires a new
             fixpoint to be constructed.
 
+            This is also available as a module argument.
+
       ‘_module’: A portion of the configuration tree which is elided from
             ‘config’. It contains some values that are mostly internal to the
             module system implementation.