frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Any2nix – INI, JSON, TOML and YAML into Nix Expressions

https://github.com/gbr-ufs/any2nix
1•gs-101•59m ago
This tool is useful for those who are just starting out at using Nix, or have some tools with config panels that export to some file format. It's different from other converters by supporting multiple formats.

Because the core part is really straightforward, I implemented it for multiple platforms (API, CLI, GUI, web app) for accessibility.

I'm open to format suggestions. One thing that I thought would be interesting to have would be two KDL formats. One that's just the plain serialization process, and another that's closer to what home-manager expects.

I also need to actually submit this as a package to nixpkgs :v

The web interface should be live at:

https://any2nix.gs-101.dev/