nixos/system/home/services/calendar/vdirsyncer-ensure-pass.sh

6 lines
168 B
Bash
Raw Normal View History

URL="dav.xenia.me.uk"
secret-tool lookup url "$URL" >/dev/null || (
echo "Setup calendar password"
secret-tool store --label="Calendar vdirsyncer" url "$URL"
)