build(nix): add generated module opts and validation

This commit adds NixOS module option generation for komorebi and
komorebi-bar configurations, along with a nix and JSONSchema validation
test harness that runs as part of `nix flake check`.

`schemars-nixgen` (same as `schemars-docgen`, not sure if I'm gonna
release this...) generates strongly-typed Nix option definitions from
the generated JSONSchema files, allowing users to write type-checked Nix
configurations that map directly to the config files.

This will eventually be plugged into a nix-darwin module which I have
yet to start writing.
This commit is contained in:
LGUG2Z committed 2025-12-24 17:18:41 -08:00
1 parent 6c575126ad
commit 23aca28267
8 files changed
+2782 -1

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@
"layout": {
"enable": true
},
"focused_window": {
"focused_container": {
"enable": true,
"show_icon": true
}