These are the collections that I am using to bootstrap the development environment for projects that are not using Nix and Flakes.
Use the nix flake init
command to bootstrap. See here when you want to init from a specific branch or commit. Find the list of supported templates in the flake.nix file at the repository's root (see the keys in the templates
field). Example:
nix flake init -t github:shihanng/nix-flakes-templates#python
I often use this together with direnv, i.e., I have the following in the .envrc
file.
use flake
I will have the tools (the compiler, LSP, linter, formatter, etc.) I need to develop when I am in the project directory.
For Python, I usually use the Python layout in addition to Flakes in direnv.
use flake
layout python