mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Fix restic-restore command
This commit is contained in:
parent
76914154c6
commit
2b48a2d10b
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ in
|
|||
${lib.optionalString hasDependentService "sudo systemctl stop ${dependentService}"}
|
||||
sudo --user=${value.user} bash -c "
|
||||
${value.restoreCommand.preRestore}
|
||||
restic-nextcloud restore latest --target /
|
||||
restic-${name} restore latest --target /
|
||||
${value.restoreCommand.postRestore}
|
||||
"
|
||||
${lib.optionalString hasDependentService "sudo systemctl start ${dependentService}"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue