From 7850385f9b285d31d79d26d82ab8a858839d29ea Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 11 Jun 2024 11:37:04 +0200 Subject: ... --- hosts/surtr/zfs.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'hosts/surtr') diff --git a/hosts/surtr/zfs.nix b/hosts/surtr/zfs.nix index 583ab8e1..17c5cd32 100644 --- a/hosts/surtr/zfs.nix +++ b/hosts/surtr/zfs.nix @@ -17,7 +17,7 @@ fsType = "zfs"; neededForBoot = true; }; - + "/var/lib/nixos" = { device = "surtr/local/var-lib-nixos"; fsType = "zfs"; @@ -62,10 +62,13 @@ }; services.zfssnap.enable = true; - services.zfs.trim.enable = false; + services.zfs.trim = { + enable = true; + interval = "Sun 16:00:00 Europe/Berlin"; + }; services.zfs.autoScrub = { enable = true; - interval = "Sun *-*-1..7 04:00:00"; + interval = "Sun *-*-1..7 04:00:00 Europe/Berlin"; }; services.zfs.zed.settings = { ZED_SYSLOG_SUBCLASS_EXCLUDE = "history_event"; -- cgit v1.2.3