feat: add direnv support

This commit is contained in:
Khue Doan 2022-11-06 12:03:48 +07:00
parent 1965fa30f4
commit 749c0e6d79
2 changed files with 5 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

View File

@ -18,6 +18,10 @@ You can use the default Docker wrapper, or use Nix if you have Nix installed:
nix-shell
```
!!! tip
If you have [`direnv`](https://direnv.net) installed, you can run `direnv allow` once and it will automatically enter the Nix shell.
It will open a shell like this:
```