Use Direnv with Nix

Install direnv

nix-env -i direnv

Add a .envrc at the root of a directory



direnv allow

a security measure to prevent arbitrary scripts from being ran without you first allowing them

Subscribe to My Newsletter

The latest programming-related news, articles and resources - sent to your inbox monthly. Unsubscribe anytime.