Devshell-files: Static files generators #152
-
Hi, everyone. Firstly I would like to thank this project, it has almost all I've been looking for as developer 😍 For missing parts it makes easy to accomplish by myself, and since it may be helpful to others I'm sharing it here: Devshell-files (sorry I'm not good at naming things) What: Helps static files creation - text, json, yaml, toml and hcl - using nix syntax Example # examples/hello.nix
{
config.files.json."/hello.json".hello = "world";
config.files.toml."/hello.toml".hello = "world";
config.files.yaml."/hello.yaml".hello = "world";
config.files.hcl."/hello.hcl".hello = "world";
config.files.text."/hello.txt" = "world";
} Other features: gitignore templates, license templates, modules2markdown and markdown2html There are anything that would better be in devshell? ² to be honest isn't a project but result of 'how to' from docs and it works so well that I'm using in other projects |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi hugosenari, Thanks for the kind words. With your module, devshell is coming closer to a home-manager on the project-level which is quite cool to see. I need to take a closer look at the implementation but I wouldn't be opposed to adding some of those modules to the devshell extras. And/or list your project in the README. |
Beta Was this translation helpful? Give feedback.
Hi hugosenari,
Thanks for the kind words. With your module, devshell is coming closer to a home-manager on the project-level which is quite cool to see.
I need to take a closer look at the implementation but I wouldn't be opposed to adding some of those modules to the devshell extras. And/or list your project in the README.