I actually managed to fit this adapter in the enclosure, something like this (but ended up using even more capton tape):
I know ~nothing about EE/signals, so I have no idea if this is remotely safe, but it seems to work for me.
- I used own M2 risers to avoid filing, much like Philipp.
- I drilled a hole for an extra M2 riser to fix the port in place.
- I drilled a hole for the Oculink port in the back cover of the expansion bay.
- The expansion bay fit (barely!) inside the chassis . There was a little bit of resistance/friction, but with enough patience it clicked in and nothing seemed to flex too badly.