nixos/restic: prevent start when rebuilding system (#456963)

This commit is contained in:
Sandro
2026-03-12 00:00:57 +00:00
committed by GitHub
+1
View File
@@ -505,6 +505,7 @@ in
lib.nameValuePair "restic-backups-${name}" {
wantedBy = [ "timers.target" ];
inherit (backup) timerConfig;
unitConfig.X-OnlyManualStart = true;
}
) (lib.filterAttrs (_: backup: backup.timerConfig != null) config.services.restic.backups);