Buy Framework laptops, these have amazing repairability and upgradability, as well as good Linux compatibility. They even offer ChromeOS options, if you ever need a Chromebook.
If you upgrade the motherboard, you can actually 3d print or buy a $60 case and use the old motherboard as a desktop.
edited for clarity
I mean can’t you just plug it into a monitor and then use it as a desktop?
The fact that you can’t buy the cable needed to unbrick a Chromebook, and have to solder it together yourself from Google’s schematics is ridiculous.
Ohh yeah, I literally work as a field technician fixing computers for some of the big companies. Literally the only computers that make me & my competitors go insane are Chromebooks. Hardware is ok at best. Software is absolutely HELL though.