@denis I created a flake that sets up the common project elements (based on my digital garden setup) that creates my Justfile, basic files, and the like.
Then I have another project setup flake that extends that to make sure all my writing tools are there, creates common Just targets, EditorConfig, conventional commits, and the like.
And then, just because I'm machoistic, I created a setting-specific flake on top of that that does sets up themes, more just targets, and make it so my flake.nix is pretty much boilerplate.
- https://src.mfgames.com/nixos-contrib/mfgames-project-setup-flake
- https://src.mfgames.com/nixos-contrib/mfgames-writing-setup-flake
- https://src.mfgames.com/nixos-contrib/fedran-writing-setup-flake
- https://src.mfgames.com/fedran-sources/sand-and-blood/src/branch/main/flake.nix
In my project set up flake, I have it set up to have options for common Rust, .NET, and other environments where it does other things for formatting, code checking, etc.
At least that is how I avoided devenv and just use flake-parts.