Reformat the aliases

This commit is contained in:
Andreas Zweili 2022-08-23 20:13:31 +02:00
parent 601c458703
commit 0318bc3818
1 changed files with 5 additions and 8 deletions

View File

@ -43,34 +43,31 @@ in
--keep-yearly 75 \
'';
};
environment.shellAliases = {
restic-list = ''
restic \
--repo ${repository} \
--password-file ${password_file} \
snapshots --host ${config.networking.hostName}
'';
snapshots --host ${config.networking.hostName}'';
restic-unlock = ''
restic \
--repo ${repository} \
--password-file ${password_file} \
unlock
'';
unlock'';
restic-mount = ''
mkdir -p /tmp/restic && \
restic \
--repo ${repository} \
--password-file ${password_file} \
--host ${config.networking.hostName} \
mount /tmp/restic
'';
mount /tmp/restic'';
restic-mount-all = ''
mkdir -p /tmp/restic && \
restic \
--repo ${repository} \
--password-file ${password_file} \
mount /tmp/restic
'';
mount /tmp/restic'';
restic-forget = ''
restic \
--repo ${repository} \