2020-02-06 00:26:57 +01:00
|
|
|
# source_up traversing up directories until it finds the nearest .envrc file,
|
|
|
|
# which it uses to extend the environment in this .envrc.
|
2020-02-06 22:39:23 +01:00
|
|
|
#
|
|
|
|
# Since ../.envrc calls `eval "$(lorri direnv)"`, the buildInputs and variables
|
|
|
|
# definitions inside of the attribute set passed to pkgs.mkShell become
|
|
|
|
# available here as well.
|
2020-02-06 00:26:57 +01:00
|
|
|
source_up
|
2020-02-07 22:30:24 +01:00
|
|
|
export monzo_client_id="$(pass show finance/monzo/client-id)"
|
|
|
|
export monzo_client_secret="$(pass show finance/monzo/client-secret)"
|
|
|
|
export ynab_personal_access_token="$(pass show finance/youneedabudget.com/personal-access-token)"
|
2020-02-06 22:39:23 +01:00
|
|
|
eval "$(lorri direnv)"
|