about summary refs log tree commit diff
path: root/ops/modules/btrfs-auto-scrub.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-02-14T23·11+0100
committerclbot <clbot@tvl.fyi>2024-02-15T00·03+0000
commit0c0edd5928d48c9673dd185cd332f921e64135e7 (patch)
tree3bcc2d29e541393d199bd078cdfd7ea7288627fc /ops/modules/btrfs-auto-scrub.nix
parenta9f40a905b32836e643babdcf11b6dd4eea0e7ce (diff)
chore(ops/modules/btrfs-auto-scrub): schedule later by default r/7520
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 <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/modules/btrfs-auto-scrub.nix')
-rw-r--r--ops/modules/btrfs-auto-scrub.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/btrfs-auto-scrub.nix b/ops/modules/btrfs-auto-scrub.nix
index b073efa3dfd1..748bb75c5fd8 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 (