summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2026-01-06 22:43:07 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2026-01-06 22:43:07 +0100
commitd48e225421986a77408538f58c21890fd8000320 (patch)
tree415c05e20db5501a29fb2686952ede5e4e7bd691
parent32ebb2a6ca416d4d54737fbd9f1ef2297913b03a (diff)
backups: reschedule
-rw-r--r--config/backups.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/backups.nix b/config/backups.nix
index eb2d494..5f7dd53 100644
--- a/config/backups.nix
+++ b/config/backups.nix
@@ -4,8 +4,8 @@
# wouldn't have the remote directory be encrypted. Plus NFS doesn't work.
# - Why Restic?
# Borg would be more efficient, but, as of writing this (01-2026), it doesn't
-# support# sftp and the NAS doesn't support non-admin SSH. When Borg v2 is out I
-# can # switch.
+# support sftp and the NAS doesn't support non-admin SSH. When Borg v2 is out I
+# can switch.
{ lib, pkgs, ... }:
let
@@ -31,7 +31,8 @@ in
];
repository = "sftp:${host}:${path}";
timerConfig = {
- OnCalendar = "12:00";
+ # the NAS is on between 10pm and 6am
+ OnCalendar = "23:00";
RandomizedDelaySec = "1h";
Persistent = true;
};