machines: back: limit ZFS ARC size to 32 GiB

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-12-18 20:43:18 +01:00
parent efc93917ab
commit 51ec4e161c
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -47,6 +47,8 @@
'';
};
boot.kernelParams = [ "zfs.zfs_arc_max=34359738368" ]; # 32 GiB
fileSystems."/" = {
device = "/dev/mapper/nixos-root";
fsType = "btrfs";