From 94271348b56679c48f5e1ad1fefefa0e93c86e57 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 23 Apr 2024 20:43:59 +0000 Subject: [PATCH] backyard: enable zfs autoscrub --- machine/backyard/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/machine/backyard/default.nix b/machine/backyard/default.nix index 1441329..ee65585 100644 --- a/machine/backyard/default.nix +++ b/machine/backyard/default.nix @@ -33,6 +33,14 @@ smartmontools # provides smartctl drive inspector ]; + services.zfs = { + autoScrub = { + enable = true; + pools = [ "pool" ]; + interval = "monthly"; + }; + }; + # This value governs how some stateful data, like databases, are handled # across different versions of NixOS. This should not be changed to a new # release unless the sysadmin has determined that no services would be