Remove secret archive (move to passwordstore)

This commit is contained in:
Tobias Reisinger 2024-01-28 01:51:19 +01:00
parent 26aff394c0
commit 496a6e761b
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 5 additions and 1 deletions

View file

@ -48,6 +48,8 @@ export TIME_STYLE="long-iso"
export VIMINIT="if has('nvim') | source $XDG_CONFIG_HOME/nvim/init.lua | else | source $XDG_CONFIG_HOME/vim/vimrc | endif"
export YADM_OVERRIDE_ARCHIVE="$HOME/.password-store/yadm.gpg"
for additional_env in "$XDG_CONFIG_HOME/env.d/"*; do
# check for ## in name to ignore yadm files

View file

@ -2,9 +2,11 @@
# Check encrypted files for newer versions
files="$HOME/.config/yadm/encrypt"
archive="$HOME/.local/share/yadm/archive"
archive="$HOME/.password-store/yadm.gpg"
new_files=false
[ -f "$archive" ] || exit 0
echo "Checking for newer versions of encrypted files..."
while IFS= read -r file
do

Binary file not shown.