nixos/restic: prevent start when rebuilding system (#456963)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user