I wonder if a metapackage that always depends on kernel <= supported would resolve the issue by ensuring you don't need to pin a specific version manually.
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
And you're done.