hyprspace/docs/content/development/config-schema.md
Max 6a5d417119
Fix some documentation issues (#123)
* docs: fix links

* docs: use new schema in examples
2026-06-18 01:17:29 +02:00

600 B

Configuration Schema

The schema for the configuration file is defined in nixos/settings.nix. This schema is used for

  • generating Go code so Hyprspace can parse the configuration
  • typed configuration in the NixOS module
  • generating the config documentation

The conversion to Go code happens by first converting the module options to a JSON schema using clan.lol's NixOS to JSON schema converter. The JSON schema is then used to generate Go code using go-jsonschema.