summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-06-10 17:33:43 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-06-10 17:33:43 +0200
commit8d191f63d7263b2e41144b0066514679f7fa6aa2 (patch)
tree77e0823fd49129ded4ee4c8a2d4e791b58340754
parentee16391d6b05f5449068b79aac651f01e2e4071b (diff)
ensure we scrub the btrfs sometimes
-rw-r--r--common.nix7
1 files changed, 7 insertions, 0 deletions
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;