One important thing to add to that: an online diet. I have The Guardian, Reddit, and a ton of other distracting content blocked on all devices (hosts files, NextDNS, etc).