the wifi didn't work on the 5.15 LTS kernel that NixOS defaults to, so I had to upgrade to 6.0. and there's some wonkiness with suspend, where the system will sometimes re-suspend itself a moment after opening the lid. a minor annoyance that I haven't taken the time to debug yet.
my previous Lenovos, I've always bought used ~3 year old models from eBay and local refurbishers. these slightly outdated models would always work perfectly with LTS kernels, no fiddling needed.
so if Linux compatibility is a higher priority than having the absolute newest hardware, I can definitely recommend looking at used Lenovos.
in particular, I recommend buying a model with no SSD whenever possible, and ordering a brand-new SSD separately. this way you know you're not getting an elderly drive, or one that was used for Chia mining, or whatever.