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)"
|
2020-02-23 21:00:04 +01:00
|
|
|
export store_path="$(pwd)"
|
2020-02-07 22:30:24 +01:00
|
|
|
export ynab_personal_access_token="$(pass show finance/youneedabudget.com/personal-access-token)"
|
2020-02-11 00:22:36 +01:00
|
|
|
export ynab_account_id="$(pass show finance/youneedabudget.com/personal-access-token)"
|
|
|
|
export ynab_budget_id="$(pass show finance/youneedabudget.com/budget-id)"
|
2020-02-06 22:39:23 +01:00
|
|
|
eval "$(lorri direnv)"
|