Closed domenkozar closed 1 year ago
yo dawg i heard you like config, so write a module to write files from config, then write a module to convert structured nix to these configs as json, yaml, toml, txt, then add module that use previous config to write your devcontainer.json Or whatever your user want on top of that.
Personal note: I prefer single binary commands like yj or even a nushell helper than python like in pkgs lib formater, because the final closure size.
Random note:
This multi-layered structure in the Yo Dawg formula makes it reminiscent of the"strange loops" described in Douglas Hofstadter's Gödel, Escher, Bach.
https://containers.dev/implementors/json_reference/#general-properties