.envrc
Purpose
Enables direnv auto-activation of the pinned Nix dev shell when you cd into the repository.
Behavior:
- Watches
flake.nix,flake.lock, andshell.nixso changes trigger reload. - Prefers
use flake .when nix-direnv is configured. - Falls back to
use nixfor non-flake setups.
Related docs
Reference/Source Reference/Build/flake.nixReference/Source Reference/Build/shell.nix