I wrote a guide on how one would go about writing a flake module for flake.parts and why would one do it. The guide is posted here.
Examples include:
- Consuming a flake module
- How to refer to the consumer flake in the flake module
- How to merge the outputs of the consumer flake
- Using flake modules to organize related code in one directory
Feedback is welcome