diff options
Diffstat (limited to 'users/wpcarro/tools/monzo_ynab')
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/.envrc | 11 | ||||
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/README.md | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/users/wpcarro/tools/monzo_ynab/.envrc b/users/wpcarro/tools/monzo_ynab/.envrc index f368d0b7e813..2e3b53cd616f 100644 --- a/users/wpcarro/tools/monzo_ynab/.envrc +++ b/users/wpcarro/tools/monzo_ynab/.envrc @@ -1,8 +1,9 @@ source_up use_nix -export monzo_client_id="$(jq -j '.monzo | .clientId' < ~/briefcase/secrets.json)" -export monzo_client_secret="$(jq -j '.monzo | .clientSecret' < ~/briefcase/secrets.json)" -export ynab_personal_access_token="$(jq -j '.ynab | .personalAccessToken' < ~/briefcase/secrets.json)" -export ynab_account_id="$(jq -j '.ynab | .accountId' < ~/briefcase/secrets.json)" -export ynab_budget_id="$(jq -j '.ynab | .budgetId' < ~/briefcase/secrets.json)" +# 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)" diff --git a/users/wpcarro/tools/monzo_ynab/README.md b/users/wpcarro/tools/monzo_ynab/README.md index 4ccbb35d8c5d..c0c0c772f646 100644 --- a/users/wpcarro/tools/monzo_ynab/README.md +++ b/users/wpcarro/tools/monzo_ynab/README.md @@ -24,7 +24,7 @@ Or you can install using `nix-env` if you'd like to create the `monzo_ynab` symlink. ```shell -> nix-env -f ~/briefcase/monzo_ynab -i +> nix-env -iA users.wpcarro.monzo_ynab ``` ## Deployment |