use separate direnv/shell for secrets subdirectory
1 file changed, 12 insertions(+), 0 deletions(-)
changed files
A secrets/.envrc
@@ -0,0 +1,12 @@ +if type -P lorri &>/dev/null; then + if test -v TMPDIR; then + export TMPDIR="$(readlink -f $TMPDIR)" + fi + eval "$(lorri direnv --flake ..#secrets)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use flake ..#secrets +fi + +dotenv_if_exists +watch_file ../flake.lock