From 1d06a2b511954ee69a38bd8c36d1bf3852225d17 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 27 Jun 2024 19:38:14 +0200 Subject: [PATCH] more scrubbing --- common.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common.nix b/common.nix index 8b6caf1..ec4d0a2 100644 --- a/common.nix +++ b/common.nix @@ -124,8 +124,13 @@ in ]; }; - # ZFS services - services.zfs.autoScrub.enable = true; + # ensure our data is not rotting + services.zfs.autoScrub = { + enable = true; + interval = "weekly"; + }; + + # trim the stuff, we use SSDs services.zfs.trim.enable = true; # enable fast dbus