From e9c91e87677e50073ff0d60c388029766876ae52 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 24 Aug 2024 18:58:13 +0200 Subject: [PATCH] scrub the disks weekly --- share/common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/common.nix b/share/common.nix index 427e036..b7da76f 100644 --- a/share/common.nix +++ b/share/common.nix @@ -232,6 +232,12 @@ in interval = "weekly"; }; + # scrub the disks weekly + services.btrfs.autoScrub = { + enable = true; + interval = "weekly"; + }; + # avoid suspend ever to be triggered systemd.targets.sleep.enable = false; systemd.targets.suspend.enable = false;