lib/types: add doc-comment header for the manual

This commit is contained in:
Johannes Kirschbauer
2026-10-10 13:29:24 +02:00
parent d3b47458b1
commit 79564aed3e
2 changed files with 11 additions and 4 deletions

View File

@@ -37,8 +37,7 @@
"description": "miscellaneous derivation-specific functions"
},
{
"id": "types",
"description": "module system types"
"id": "types"
}
],
"sources": [

View File

@@ -1,5 +1,13 @@
# Definitions related to run-time type checking. Used in particular
# to type-check NixOS configurations.
/**
Definitions related to run-time type checking.
Used to type-check NixOS configurations.
:::{.note}
Documentation for `lib.types` is currently being moved here.
See [all types](https://nixos.org/manual/nixos/stable/#sec-option-types)
:::
*/
{ lib }:
let