aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/zfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/optional/zfs.nix')
-rw-r--r--hosts/common/optional/zfs.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/common/optional/zfs.nix b/hosts/common/optional/zfs.nix
new file mode 100644
index 0000000..a2d978d
--- /dev/null
+++ b/hosts/common/optional/zfs.nix
@@ -0,0 +1,6 @@
+{
+ services.zfs = {
+ autoScrub.enable = true;
+ trim.enable = true;
+ };
+}