Edit: worth noting that the Air is more likely to thermal throttle the Pro, which would be a major reason to go for the Pro. I support it'll be alright if it's mostly connected to a keyboard.
We're going to support the Touch Bar to make those machines useful, but given it's likely to be dead in the next generation, it's unlikely Linux will get any kind of ecosystem for it unless someone is really dedicated. I can only promise basic function key emulation (same kind of thing you get on T2 Macs with Windows/Linux), and it will take some time since that needs a couple bespoke drivers and we have bigger fish to fry first.
Then again, you could also wait for the next generation. As long as M1X didn't redo the GPU, which seems unlikely, I don't expect support for that chip to lag much behind M1.
As for thermal throttle on the Air, you can spend $10 and 10 minutes installing thermal pads to bridge the CPU and the aluminum backplate. This will cause the backplate to heat up more, but nearly eliminates any thermal throttling even under sustained load.