add more restic aliases

This commit is contained in:
Andreas Zweili 2022-03-01 16:54:46 +01:00
parent 22f26bfaa7
commit c45e3ba2f3

View File

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