From 2af2995b1837de0895539974e61910ce6059fb98 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sat, 16 Nov 2024 14:37:42 +0100 Subject: [PATCH] adds ZFS ARC maximum size parameter to configuration (16GB) --- config/nixos/hardware/mennos-server/zfs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nixos/hardware/mennos-server/zfs.nix b/config/nixos/hardware/mennos-server/zfs.nix index fd847c2..075c38c 100644 --- a/config/nixos/hardware/mennos-server/zfs.nix +++ b/config/nixos/hardware/mennos-server/zfs.nix @@ -71,6 +71,7 @@ in # If you want to keep compression settings boot.kernelParams = [ "zfs.zfs_compressed_arc_enabled=1" ]; + boot.kernelParams = [ "zfs.zfs_arc_max=17179869184" ]; # 16 GiB fileSystems = { # backup ZFS mount points