1
0
Fork
You've already forked flakes
0
No description
  • Nix 100%
2026年05月07日 22:06:23 +02:00
flake.lock add doc n shit 2026年01月05日 13:01:17 +01:00
flake.nix ion need ts anymor 2026年05月07日 22:06:23 +02:00
README.md better go config 2026年01月05日 16:51:50 +01:00

Flakes

A repo that contains a flake file to be used in dev environments with .envrc, so you don't have to commit a flake.nix file to every single repo.

Setup

To make the "don't commit nix files" rule true, you'll need to have direnv set up in your nix install.

Once that's done, create .envrc in the target repo (in which you'd like to set up this), with the following content:

use flake path/to/flakes#flakeToUse

Replace flakeToUse with the flake of your choice (python311 for example) and the path to be correct

Finally, use direnv allow in the to make it apply in the target repo's folder. Simple!

Oh yeah, don't forget to add .envrc and .direnv/ to the target repo's .gitignore