From 22a01f739b199132f62936f7d654c93a91cc7cb9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 15 Aug 2024 17:18:55 +0800 Subject: [PATCH] config: update envrc file --- .envrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.envrc b/.envrc index 9e83e1de..2294ad52 100644 --- a/.envrc +++ b/.envrc @@ -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