Put repo info in secrets

This commit is contained in:
flyingscorpio@arch-desktop 2020-10-24 23:27:18 +02:00
parent 240043db1c
commit faa028e36e
2 changed files with 2 additions and 1 deletions

View file

@ -43,7 +43,7 @@ source /home/*/SetupCockpit/secrets
touch "$cache_file"
# Setting this so the repo does not need to be given on the command line:
BORG_REPO=ssh://flyingscorpio@2px.info:22/~/"$(hostname)".borg
BORG_REPO=ssh://"$SSH_REPO":22/~/"$(hostname)".borg
export BORG_REPO
BORG_PASSPHRASE="$BORG_PASSPHRASE"

View file

@ -1,4 +1,5 @@
# secrets - is sourced by some commands - this is a template
SETUP_COCKPIT_EMAIL=''
SSH_REPO='user@ho.st'
BORG_PASSPHRASE=''