flake-parts and dendritic nix
I came across dendritic nix a while ago. I didn’t know enough about flake-parts at the time to really get my head wrapped around it, but I definitely sympathized with the problems people thought it helped solve in the surrounding discussion.
I kept seeing it, and I kept poking at the composing parts, and eventually I got it. I’m currently almost finished migrating my dotfiles to the dendritic pattern. I mostly just need to re-write some of my docs, revise my bootstrap scripts for the new repo structure, and take care of a few flake level stragglers (overlays, templates), but my migration of internal nixos and home-manager modules is complete!
This blog post gives a high level overview flake parts, and the dendritic pattern. It gets into some of the ideas I find the most useful, and also gives an overview of my migration strategy and a retrospective on this change.
