add an alias to unlock restic

This commit is contained in:
Andreas Zweili 2022-04-16 15:44:53 +02:00
parent 780d5051f3
commit b4d5fa105f
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,12 @@ in
--password-file ${password_file} \
snapshots --host ${config.networking.hostName}
'';
restic-unlock = ''
restic \
--repo ${repository} \
--password-file ${password_file} \
unlock
'';
restic-mount = ''
mkdir -p /tmp/restic && \
restic \