From e883edd2189742ac808393e1163cc2643f7f8edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 30 Jul 2023 12:53:03 +0100 Subject: [PATCH] enable auto trim for zfs --- nixos/boxes/bolty/bolty-boot.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/boxes/bolty/bolty-boot.nix b/nixos/boxes/bolty/bolty-boot.nix index b2f9a6ff..99c8e396 100644 --- a/nixos/boxes/bolty/bolty-boot.nix +++ b/nixos/boxes/bolty/bolty-boot.nix @@ -14,6 +14,7 @@ services.btrfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true; + services.zfs.trim.enable = true; boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ];