mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-02 21:24:12 +01:00
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:
1 parent
6c575126ad
commit
23aca28267
8 files changed
+2782
-1
No files matched your search
@@ -18,7 +18,7 @@
|
||||
"layout": {
|
||||
"enable": true
|
||||
},
|
||||
"focused_window": {
|
||||
"focused_container": {
|
||||
"enable": true,
|
||||
"show_icon": true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user