diff options
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/dotfiles | 1 | ||||
| -rw-r--r-- | .local/share/dotfiles/README.md | 16 |
2 files changed, 15 insertions, 2 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index 7bced23..77641b6 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -89,6 +89,7 @@ sync) python-pipx # Python apps environment wl-clipboard # Wayland clipboard jq # JSON processor + pass # password manager shfmt # shell program formatter stylua # Lua formatter base-devel cmake ninja git # nvim build dependencies diff --git a/.local/share/dotfiles/README.md b/.local/share/dotfiles/README.md index 1d9e73c..b89097b 100644 --- a/.local/share/dotfiles/README.md +++ b/.local/share/dotfiles/README.md @@ -15,13 +15,23 @@ Add any file to the repository: `git add ~/.bashrc`. ## Setup -There is one thing to configure not included in the repo (because you can choose `DOTFILES_DIR`): +There are two per-user choices not included in the repo. First, `DOTFILES_DIR` (because you can choose where the bare +repo lives): ```bash echo "DOTFILES_DIR=$DOTFILES_DIR" >>"$HOME/.config/environment.d/50-dotfiles.conf" ``` -This variable must be available for other programs to function. See `man 5 environment.d`. Now reboot. That's it! +Second, the `pass` store. It defaults to `~/.password-store`, but you can keep it anywhere; point `PASSWORD_STORE_DIR` +at it the same way: + +```bash +echo "PASSWORD_STORE_DIR=$HOME/Secret/pass" >>"$HOME/.config/environment.d/50-pass.conf" +``` + +The store is its own git repository, manage it with `pass git ...`, independent of the dotfiles repo. + +These variables must be available for other programs to function. See `man 5 environment.d`. Now reboot. That's it! ## Overview @@ -30,6 +40,7 @@ This variable must be available for other programs to function. See `man 5 envir - **Shell**: [bash][3] - **File browser**: [ranger][4] - **Text editor**: [nvim][5] +- **Password manager**: [pass][6] ## Links @@ -39,3 +50,4 @@ This variable must be available for other programs to function. See `man 5 envir [3]: https://www.gnu.org/software/bash/ [4]: https://github.com/ranger/ranger [5]: https://neovim.io/ +[6]: https://www.passwordstore.org/ |
