This is a collection of flake.nix templates designed to help you quickly start coding for new projects.
- Contains
flake.nixfiles for different programming languages and technology stacks. - It is Out-of-the-box but also has sufficient extensibility, allowing you to continuously add new content as the project evolves.
- Designed for both NixOS users and non-NixOS (Nix only) users.
- And it is compatible with traditional toolchains, allowing for seamless collaboration with non-Nix users.
Show available templates
nix flake show github:luochen1990/flake-devenvSelect a template (e.g. python-poetry), and init your project (e.g. my-project) via
cd my-project
nix flake init --template github:luochen1990/flake-devenv#python-poetryThen activate the development environment via
direnv allowOr if you prefer to activate the environment manually than use direnv, you can run
nix developAnd start your Editor/IDE here so that the development environment can be recognized
code .