mirror of
https://github.com/hyprspace/hyprspace.git
synced 2026-09-12 19:51:07 +05:00
* README: document basic build/setup steps * document dev setup and how the config schema works * set up for use with direnv * mention direnv in the dev setup docs * README: mention developer docs * provide some contributor infos
599 B
599 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 configuration
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.