Elektrine lite

← Feed

@ChristianKrebel@ohai.social

Post #979999

2026-03-28 15:43 UTC

nix-direnv is great! For those new to #nix #nixos, you can create a flake file in a repo and define which packages are needed for it specifically (i.e. node). But then you would have to run `nix develop` and wait for downloads every time you enter the directory. With nix-direnv you can create another file called .envrc with the content `use flake`, then once run `direnv allow` in the directory and from now on when you enter it, it will auto load the flake cached without much delay :blobcatcool:

Replies (0)

No replies.