diff options
Diffstat (limited to 'users/wpcarro/tools/monzo_ynab/.envrc')
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/.envrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/users/wpcarro/tools/monzo_ynab/.envrc b/users/wpcarro/tools/monzo_ynab/.envrc new file mode 100644 index 000000000000..2e3b53cd616f --- /dev/null +++ b/users/wpcarro/tools/monzo_ynab/.envrc @@ -0,0 +1,9 @@ +source_up +use_nix +# TODO(wpcarro): Prefer age-nix solution if possible. +export monzo_client_id="$(jq -j '.monzo | .clientId' < $WPCARRO/secrets.json)" +export monzo_client_secret="$(jq -j '.monzo | .clientSecret' < $WPCARRO/secrets.json)" +export ynab_personal_access_token="$(jq -j '.ynab | .personalAccessToken' < $WPCARRO/secrets.json)" +export ynab_account_id="$(jq -j '.ynab | .accountId' < $WPCARRO/secrets.json)" +export ynab_budget_id="$(jq -j '.ynab | .budgetId' < $WPCARRO/secrets.json)" +export store_path="$(pwd)" |