1. Kobo ereaders are dirt cheap at thrift stores (and run Linux)
2. KOreader is simple to install (I have done this)
3. KOReader has a text editor + terminal built in, and has a setting to switch to USB-OTG mode, which should allow you to plug in a USB-C hub, and a mechanical keyboard.
Boom! Internet connected e-ink writing tablet with excellent battery life, and the best keyboard you have, for ~$5-100.
If you're looking at a chromebook I suggest doing research on the specific model first. Esp. by looking here... https://docs.mrchromebox.tech/docs/supported-devices.html
Old MS Surface tablets are also decent options IMHO... https://github.com/linux-surface/linux-surface/wiki/Supporte...
I'm presently writing on a Surface 3 w/ x7-Z8700 atom that's running Ubuntu Noble and vanilla 6.8 kernel. They're about $50. Everything works rather well (including gfx/audio/sleep/hibernate), except the camera, which I haven't bothered with. I'm quite happy w/ it tbh.
One thing to note w/ this model is you'll need the OEM keyboard to install linux since there's only one usb port; which will be required by the install media. Once you've installed though you can use any bluetooth or usb keyboard you want. Another thing is any micro-usb charger should work but I wouldn't rely on just 1amp, go w/ a 3amp.
Anyway, happy hunting!