a Steam deck with a small form factor keyboard?
Legion Go (1st Gen with the removable controllers) would be better. Without the controllers, it's basically a 8.8 inch PC tablet. Would be a great portable machine. With an added bonus of the controllers converting to a desktop mouse.
A Steam Deck is a bit more lumpy than the Minibook. I find it a lot easier to put my Minibook into a rucksack as it's thin, so it can just slide between stuff. The Steam Deck is quite a lot bigger, though I often take both on holiday as they fill different needs.
I so wanted to love the Steam Deck, but it's a device with a 7 inch screen that occupies a massive volume on your bag. Unless you know you're going to play a fair ammount, it's not worth carrying around.
It's a fantastic console, but a mediocre general purpose computer.