all repos — nixfiles @ 4a4e830a822527840b9a72302b7a8e2d99a88df2

System and user configuration, managed by nix and home-manager

secrets/.envrc (view raw)

1
2
3
4
5
6
7
8
9
10
11
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