more arc, no mem swap

This commit is contained in:
Christoph Cullmann 2025-05-01 21:49:04 +02:00
parent 9e88412940
commit 4f660bfc5a
No known key found for this signature in database

View file

@ -114,10 +114,6 @@ in
# tweak ZFS
boot.extraModprobeConfig = ''
# between 1 and 8 GB large ARC
options zfs zfs_arc_min=1073741824
options zfs zfs_arc_max=8589934592
# less scrub impact on other IO
options zfs zfs_scrub_delay=32
options zfs zfs_vdev_scrub_min_active=1
@ -162,9 +158,6 @@ in
themePackages = [ pkgs.adi1090x-plymouth-themes ];
};
# swap to RAM
zramSwap.enable = true;
# root file system, we will rollback that on boot
fileSystems."/" = {
device = "zpool/root";