From ff3406ec16f0d46a997211a78139e29d96e82f49 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 29 May 2021 15:32:44 +0200 Subject: surtr: zfs no trim but scrub --- hosts/surtr/zfs.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts/surtr/zfs.nix') diff --git a/hosts/surtr/zfs.nix b/hosts/surtr/zfs.nix index 72cc79e3..702c545c 100644 --- a/hosts/surtr/zfs.nix +++ b/hosts/surtr/zfs.nix @@ -85,5 +85,11 @@ in { }; }; in builtins.listToAttrs (map mkSnapTimer snapshotNames); + + services.zfs.trim.enable = false; + services.zfs.autoScrub = { + enable = true; + interval = "Sun, 1..7-*-* 04:00:00"; + }; }; } -- cgit v1.2.3