snowfallorg / flake

Simplify Nix Flakes on the command line.
Other
94 stars 5 forks source link

module boilerplate generation #4

Open olifloof opened 1 year ago

olifloof commented 1 year ago

It would be nice to be able to run something like flake generate <module/overlay/system> to make boilerplate less of an annoyance, there could also be an interactive prompt for the name, description, options, etc..

jakehamilton commented 1 year ago

This would be a pretty useful feature! It would be specific to the structure that Snowfall Lib expects, but I think that is okay considering we also have unique build commands baked into Flake already. I'll probably hold off on implementing this until I get some foundational changes up on Snowfall Lib (home-manager support, Darwin modules, etc). Once that is done it should be pretty easy to ship this feature.