Reformat the aliases
This commit is contained in:
parent
601c458703
commit
0318bc3818
|
@ -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} \
|
||||
|
|
Loading…
Reference in New Issue