One thing that makes a huge difference is having a dedicated room for work. I'm fortunate to be able to afford an extra room just for myself and I set up a mini office in there. It's so much better than an open office environment, I can't even compare. I really get "in the zone" there and instead of getting interrupted every minute in my sad FAANG open office environment, I can actually get stuff done.