If you’re pursuing a MSc, your effort should be spent on the study itself, not on tinkering (e.g. I saw some recommended a Framework laptop). So my wholehearted recommendation is a Thinkpad + Fedora for maximum usability, stability, and durability. Thinkpad speakers are usually bad though. And Thinkpad is not particularly good for gaming, either.