Commit Graph

5 Commits

Author SHA1 Message Date
lassulus
af3d3a7538 rename filename to fileExtension 2023-07-22 16:20:50 +02:00
DavHau
27c86ee228 feat(all-formats.nix): add readme section and test 2023-07-03 14:06:57 +03:00
DavHau
f4a79d08d7 feat(all-formats.nix): add formatConfigs
While the `all-formats.nix` module allows to import all formats at once, it lacks an interface to customize formats or add formats.

This is fixed by adding the top-level option `formatConfigs` (attrsOf deferredModule).

All format modules created under `config.formatConfigs` are mapped so their outputs are available under `config.formats` which has also been moved to the top-level (previously `config.system.formats`).

Done:
- add option `formatConfigs`
- move option `system.formats` -> `formats`
- add test for customizing a format
2023-07-03 11:54:20 +03:00
DavHau
435e0d366f add checks for al formats 2023-05-29 11:05:09 +02:00
DavHau
27efbe76ba add format check 2023-05-29 10:20:56 +02:00