From 0c5d4436ad4b97689295126584375cd826a5effc Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 25 Nov 2025 13:20:26 +0100 Subject: [PATCH] restic: Fix typo in variable name --- modules/system/services/restic/restore.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system/services/restic/restore.nix b/modules/system/services/restic/restore.nix index 1c68e87..2d06e9f 100644 --- a/modules/system/services/restic/restore.nix +++ b/modules/system/services/restic/restore.nix @@ -42,14 +42,14 @@ in let inherit (value) conflictingService; inherit (value.restoreCommand) preRestore postRestore; - hasconflictingService = conflictingService != null; + hasConflictingService = conflictingService != null; in '' - ${lib.optionalString hasconflictingService "systemctl stop ${conflictingService}"} + ${lib.optionalString hasConflictingService "systemctl stop ${conflictingService}"} ${preRestore} restic-${name} restore latest --target / ${postRestore} - ${lib.optionalString hasconflictingService "systemctl start ${conflictingService}"} + ${lib.optionalString hasConflictingService "systemctl start ${conflictingService}"} ''; } );