nix to json schema coverage #626

Open
opened 2025-12-03 15:14:07 +01:00 by kiara · 0 comments
Owner

As a Fediversity maintainer,
I want our converter from nix option modules to JSON schemas to cover further Nix types,
so that we may expose more NixOS service modules through Fediversity.

implementation notes

builds upon existing module (from #285) converting nix option modules to JSON schemas.

ways to expand on that include:

**As** a Fediversity maintainer, **I want** our converter from nix option modules to JSON schemas to cover further Nix types, **so that** we may expose more NixOS service modules through Fediversity. ### implementation notes builds upon existing module (from #285) converting nix option modules to JSON schemas. ways to expand on that include: - [ ] include [`$defs`](https://json-schema.org/understanding-json-schema/structuring#defs) - [ ] include remaining options given default/configured settings? - [ ] untie from clan's use-case - [x] [`attrTag`](https://git.clan.lol/clan/clan-core/issues/7127) - ~~used in [contracts implementation](https://github.com/KiaraGrouwstra/nixpkgs/compare/contracts-secret-generated...contracts-introspection)~~
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fediversity/fediversity#626
No description provided.