Understanding kernels when using ZFS

I boot with ZFS. I try to use the latest packages using:
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages

I’m using flakes and unstable. This resulted in a 6.2 kernel

I then tried using the zen kernel:
linuxKernel.packages.linux_zen.zfs

This resulted in an older kernel, so I removed this and use:
programs.cfs-zen-tweaks.enable = true;

However, I am still on kernel 6.1.49. I can’t find what may be affecting this…

How do I know what the latest ZFS compatible kernel is (I know I can get the x.y version number from source).

Are there any other options besides boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages that affect the kernel version?

Are there any config options that would override latestCompatible?

1 Like