From 2b48a2d10be09280e47828df57b7aecdc87ddfe2 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 10 Jun 2025 12:55:38 +0200 Subject: [PATCH] Fix restic-restore command --- modules/system/services/restic-backups/restore.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/services/restic-backups/restore.nix b/modules/system/services/restic-backups/restore.nix index 4574628..21b40e4 100644 --- a/modules/system/services/restic-backups/restore.nix +++ b/modules/system/services/restic-backups/restore.nix @@ -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}"}