1
0
forked from clan/clan-core

blog: fix typo on jsonschema post

This commit is contained in:
DavHau 2024-05-25 10:37:50 +02:00
parent 7fbb50fcc8
commit ec824becc8

View File

@ -177,7 +177,7 @@ JSON schema mandates the declaration of all required fields upfront, which might
Certain NixOS module types, like `types.functionTo` and `types.package`, do not map straightforwardly to JSON. For full compatibility, adjustments to NixOS modules might be necessary, such as substituting `listOf package` with `listOf str`.
### Parsing NixOS Modules2
### Parsing NixOS Modules
Currently, our converter relies on the `options` attribute of evaluated NixOS modules, extracting information from the `type.name` attribute, which is suboptimal. Enhanced introspection capabilities within the NixOS module system would be beneficial.