samhh / dotfiles

Configuring the universe with Nix.
51 stars 2 forks source link

Add restic wrapper command #371

Closed samhh closed 1 year ago

samhh commented 1 year ago

Something to abstract away all the pass calls in:

$ B2_ACCOUNT_ID=$(pass misc/backblaze.com/app-key-id-pass) B2_ACCOUNT_KEY=$(pass misc/backblaze.com/app-key-pass) restic --password-command "pass lan/restic" <command>

Via Nix.

samhh commented 1 year ago

https://github.com/samhh/dotfiles/commit/67e99ce191856153b16a8afab7b2f319bfe9218a