Skip to content

These are the collections that I am using to bootstrap the development environment for projects that are not using Nix and Flakes.

License

Notifications You must be signed in to change notification settings

shihanng/nix-flakes-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-flakes-templates

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.

Python

For Python, I usually use the Python layout in addition to Flakes in direnv.

use flake
layout python

About

These are the collections that I am using to bootstrap the development environment for projects that are not using Nix and Flakes.

Topics

Resources

License

Stars

Watchers

Forks

Languages