summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/zfs.nix9
1 files changed, 6 insertions, 3 deletions
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 @@
17 fsType = "zfs"; 17 fsType = "zfs";
18 neededForBoot = true; 18 neededForBoot = true;
19 }; 19 };
20 20
21 "/var/lib/nixos" = 21 "/var/lib/nixos" =
22 { device = "surtr/local/var-lib-nixos"; 22 { device = "surtr/local/var-lib-nixos";
23 fsType = "zfs"; 23 fsType = "zfs";
@@ -62,10 +62,13 @@
62 }; 62 };
63 63
64 services.zfssnap.enable = true; 64 services.zfssnap.enable = true;
65 services.zfs.trim.enable = false; 65 services.zfs.trim = {
66 enable = true;
67 interval = "Sun 16:00:00 Europe/Berlin";
68 };
66 services.zfs.autoScrub = { 69 services.zfs.autoScrub = {
67 enable = true; 70 enable = true;
68 interval = "Sun *-*-1..7 04:00:00"; 71 interval = "Sun *-*-1..7 04:00:00 Europe/Berlin";
69 }; 72 };
70 services.zfs.zed.settings = { 73 services.zfs.zed.settings = {
71 ZED_SYSLOG_SUBCLASS_EXCLUDE = "history_event"; 74 ZED_SYSLOG_SUBCLASS_EXCLUDE = "history_event";