mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
modules/README: init
Explain the purpose and usage of this new directory.
This commit is contained in:
parent
79748defd7
commit
1cafa1fd7e
1 changed files with 9 additions and 0 deletions
9
modules/README.md
Normal file
9
modules/README.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# `<nixpkgs>/modules`
|
||||
|
||||
This directory hosts subdirectories representing each module [class](https://nixos.org/manual/nixpkgs/stable/#module-system-lib-evalModules-param-class) for which the `nixpkgs` repository has user-importable modules.
|
||||
|
||||
Exceptions:
|
||||
- `_class = "nixos";` modules go in the `<nixpkgs>/nixos/modules` tree
|
||||
- modules whose only purpose is to test code in this repository
|
||||
|
||||
The emphasis is on _importable_ modules, i.e. ones that aren't inherent to and built into the Module System application.
|
||||
Loading…
Add table
Add a link
Reference in a new issue