dotfiles/scripts/.config/sh/env.d/nomie-api-key.sh
Marty Oehme 8fd025653a
scripts: Improve nomie credentials options
Added option to input nomie api key either directly as an environment
variable, or to pass a command (also through env var) to nomie which it
will call to get the api key.

So, if you have e.g. pass as password manager running, you can just do
`NOMIE_API_KEY_CMD="pass show path/to/key/file"` and it will use the
returned credentials.
2021-03-30 22:21:42 +02:00

2 lines
63 B
Bash

export NOMIE_API_KEY_CMD="pass show websites/nomie.app/apikey"