summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-06-27 19:38:14 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-06-27 19:38:14 +0200
commit1d06a2b511954ee69a38bd8c36d1bf3852225d17 (patch)
tree263b4fe590276e652cd84a90de3c082f386a966b
parent3ce165d5a8aaf4a77519173e305e759f92a84a2f (diff)
more scrubbing
-rw-r--r--common.nix9
1 files 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