From 8d191f63d7263b2e41144b0066514679f7fa6aa2 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 10 Jun 2023 17:33:43 +0200 Subject: ensure we scrub the btrfs sometimes --- common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common.nix b/common.nix index 86d0599..58b0199 100644 --- a/common.nix +++ b/common.nix @@ -52,6 +52,13 @@ in ]; }; + # ensure we scrub the btrfs sometimes + services.btrfs.autoScrub = { + enable = true; + fileSystems = [ "/data" ]; + interval = "weekly"; + }; + # allow all firmware hardware.enableAllFirmware = true; -- cgit v1.2.3