enable auto trim for zfs

This commit is contained in:
Cyryl Płotnicki 2023-07-30 12:53:03 +01:00
parent ff1005992b
commit e883edd218

View file

@ -14,6 +14,7 @@
services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.enable = true;
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;
boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ]; boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ];