From 0c0edd5928d48c9673dd185cd332f921e64135e7 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 15 Feb 2024 00:11:28 +0100 Subject: [PATCH] chore(ops/modules/btrfs-auto-scrub): schedule later by default Midnight is kind of when you're still up and may want read performance that is not affected by a btrfs scrub. Change-Id: I0609269d3ee9853f7c7fe08cae18efe1d9259e7e Reviewed-on: https://cl.tvl.fyi/c/depot/+/10864 Reviewed-by: sterni Autosubmit: sterni Tested-by: BuildkiteCI --- ops/modules/btrfs-auto-scrub.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/modules/btrfs-auto-scrub.nix b/ops/modules/btrfs-auto-scrub.nix index b073efa3d..748bb75c5 100644 --- a/ops/modules/btrfs-auto-scrub.nix +++ b/ops/modules/btrfs-auto-scrub.nix @@ -7,7 +7,7 @@ services = { btrfs.autoScrub = { enable = true; - interval = lib.mkDefault "daily"; + interval = lib.mkDefault "*-*-* 03:30:00"; # gather all btrfs fileSystems, extra ones can be added via the NixOS # module merging mechanism, of course. fileSystems = lib.concatLists (