> I've had to do some ridiculous things to get them to behave after installing Linux, like tricking the BIOS to deal with UEFI correctly
I would suggest going for a couple of generations newer - the M92p is from an era before UEFI became really stable. For automated testing of my startup's product we have a testlab of tens of older USFF desktops and the M700/M900/M910 machines are some of my favorites. They're also just before the cut-off for Windows 11 support so they're still available dirt cheap.
Two things to watch out for - the M700 lacks a PCI-E M.2 slot - the internal M.2 slot supports only SATA M.2 drives. Second, the front USB ports failing is a really common failure mode.
Ooo that's _gotta_ be what it is. Just the most bizarre UEFI issues. I luckily found an incantation that works in a pretty general way for M92ps, but had I not I'd have some bricks laying around.
I have some M910q that I am very happy with. UEFI is well supported, I was able to upgrade them to 32gb of RAM, i7 7700t and both a 512gb SSD and NVMe for mirrored storage. Highly recommended. Sure, it would be nice to get something newer than 7th gen, but it's still highly capable, small, quiet and fairly low power usage.
I would suggest going for a couple of generations newer - the M92p is from an era before UEFI became really stable. For automated testing of my startup's product we have a testlab of tens of older USFF desktops and the M700/M900/M910 machines are some of my favorites. They're also just before the cut-off for Windows 11 support so they're still available dirt cheap.
Two things to watch out for - the M700 lacks a PCI-E M.2 slot - the internal M.2 slot supports only SATA M.2 drives. Second, the front USB ports failing is a really common failure mode.