From a87b6f93239133e3f0d2e48cc18e6355d54a2509 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 6 Jan 2025 06:24:06 -0600 Subject: [PATCH] revert default, set host config for zfs snap backup --- nixos/hosts/shadowfax/default.nix | 2 +- nixos/modules/nixos/services/zfs-nightly-snap/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/shadowfax/default.nix b/nixos/hosts/shadowfax/default.nix index 76b3022..e552c3e 100644 --- a/nixos/hosts/shadowfax/default.nix +++ b/nixos/hosts/shadowfax/default.nix @@ -208,7 +208,7 @@ in mountPath = "/mnt/restic_nightly_backup"; zfsDataset = "nahar/containers/volumes"; snapshotName = "restic_nightly_snap"; - startAt = "*-*-* 02:10:00 America/Chicago"; + startAt = "*-*-* 06:30:00 America/Chicago"; }; }; # System diff --git a/nixos/modules/nixos/services/zfs-nightly-snap/default.nix b/nixos/modules/nixos/services/zfs-nightly-snap/default.nix index 60e6df4..0b264c2 100644 --- a/nixos/modules/nixos/services/zfs-nightly-snap/default.nix +++ b/nixos/modules/nixos/services/zfs-nightly-snap/default.nix @@ -84,8 +84,8 @@ in }; startAt = lib.mkOption { type = lib.types.str; - default = "*-*-* 06:00:00 America/Chicago"; # Every day at 6 AM - description = "When to create and mount the ZFS snapshot. Defaults to 6 AM."; + default = "*-*-* 02:10:00 America/Chicago"; # Every day at 2:10 AM + description = "When to create and mount the ZFS snapshot. Defaults to 2:10 AM."; }; };