config: update envrc file

This commit is contained in:
Gabriel Arazas 2024-08-15 17:18:55 +08:00
parent dfb16a9f0b
commit 22a01f739b
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

8
.envrc
View File

@ -1,3 +1,9 @@
use flake if [ -n "$(command -v lorri)" ]; then
eval "$(lorri direnv)"
elif [ -n "$(command -v nix)" ]; then
use flake
else
use nix
fi
dotenv_if_exists .production.envrc dotenv_if_exists .production.envrc