Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ Check [traps](./windows/Multi-booting.md)
ssh-add ~/.ssh/id_ed25519
```

1. Restore encrepted secrets from private git repository

```bash
git clone 'git@example.com:password-store.git' "$PASSWORD_STORE_DIR"
```

1. [Restore encrypted rclone.conf from STDIN](config/rclone.md)

1. Restore shell history
Expand Down
11 changes: 2 additions & 9 deletions config/rclone.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,9 @@ hx "$(rclone config file | tail -1)"

Don't save the file in this repository even if it is encrypted with agenix or sops-nix.

## Persist the token in a session
## Decrypt the config in a session

Always need the token when modifying config is too annoy.\
Now it reads from `RCLONE_PASSWORD_COMMAND`.\
Or directly set `RCLONE_CONFIG_PASS` as this.\
(`read -s` does not work in zsh)

```bash
export RCLONE_CONFIG_PASS="$(hx)"
```
The token should be injected with `RCLONE_PASSWORD_COMMAND`.

## Mount

Expand Down
338 changes: 0 additions & 338 deletions dependencies/goldwarden/completions.bash

This file was deleted.

Loading