diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-23T23·30-0500 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2021-12-24T01·46+0000 |
commit | c1e381eeccaa7246ac40e5a58ae5202ead0dfd5f (patch) | |
tree | 2de383ed7bd7adaa20face2c09e4857ee48c7515 /users/wpcarro/tools | |
parent | 87981e7afd221f76a4361429a043881d6351e657 (diff) |
refactor(wpcarro): Remove briefcase references r/3340
TL;DR: - prefer WPCARRO env-var to BRIEFCASE - remove repository URLs from Emacs libraries - prefer tvl-depot-path where possible - reduce the scope of constants.el - prune (some not all) stale CI configuration Change-Id: I21e9130402502ec6fa2fc4b46753c890069be62d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4545 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/tools')
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/.envrc | 11 | ||||
-rw-r--r-- | users/wpcarro/tools/monzo_ynab/README.md | 2 | ||||
-rw-r--r-- | users/wpcarro/tools/run/README.md | 2 | ||||
-rw-r--r-- | users/wpcarro/tools/symlinkManager/README.md | 4 | ||||
-rw-r--r-- | users/wpcarro/tools/url-blocker/README.md | 2 |
5 files changed, 10 insertions, 11 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 diff --git a/users/wpcarro/tools/run/README.md b/users/wpcarro/tools/run/README.md index d3cccecf910c..fd24495035ba 100644 --- a/users/wpcarro/tools/run/README.md +++ b/users/wpcarro/tools/run/README.md @@ -26,5 +26,5 @@ file.ts` will run. Install `run` using Nix. ```shell -> nix-env -iA briefcase.run +> nix-env -iA users.wpcarro.run ``` diff --git a/users/wpcarro/tools/symlinkManager/README.md b/users/wpcarro/tools/symlinkManager/README.md index b0fc58c8e989..e8298ea65401 100644 --- a/users/wpcarro/tools/symlinkManager/README.md +++ b/users/wpcarro/tools/symlinkManager/README.md @@ -1,6 +1,6 @@ # Dotfile Symlink Manager -Find and delete all symlinks to the dotfiles defined in `$BRIEFCASE`. +Find and delete all symlinks to my dotfiles. Oftentimes I corrupt the state of my configuration files. The intention with this script is to help me clean things up when this happens. An example workflow @@ -9,6 +9,4 @@ might look like: ```shell > symlink-mgr --audit > symlink-mgr --seriously -> briefcase # changes directory to $BRIEFCASE -> make install ``` diff --git a/users/wpcarro/tools/url-blocker/README.md b/users/wpcarro/tools/url-blocker/README.md index 1b7fea8c15e0..a6063f32562d 100644 --- a/users/wpcarro/tools/url-blocker/README.md +++ b/users/wpcarro/tools/url-blocker/README.md @@ -36,7 +36,7 @@ file `~/.config/url-blocker/rules.json` with the following contents and ## Installation ```shell -$ nix-env -iA 'briefcase.tools.url-blocker' +$ nix-env -iA users.wpcarro.tools.url-blocker ``` ## How does it work? |