build02: bump zfs_arc_max to 24GB

This commit is contained in:
zowoq 2024-05-14 22:10:30 +10:00
parent 29ccc15750
commit 07547aa0a7

View file

@ -11,7 +11,7 @@
inputs.self.nixosModules.disko-zfs
];
boot.kernelParams = [ "zfs.zfs_arc_max=17179869184" ]; # 16GB, try to limit OOM kills / reboots
boot.kernelParams = [ "zfs.zfs_arc_max=${toString (24 * 1024 * 1024 * 1024)}" ]; # 24GB, try to limit OOM kills / reboots
networking.hostName = "build02";
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];