Earlier quoted context omitted.
I am right there with you. I kicked the phone addiction in various ways, but I really like to work on personal projects and they're all on the computer, much like my work, so I'm always on my computer. I have a few tricks. I have a work laptop and a gaming computer, and I do all my personal work on the gaming computer. That helps separate the two. I have a workspace which gets me out of the house and keeps me focused…
One thing that kills me with this setup is having such different dev environments - I spend all day using particular tools, shortcuts, etc. on my work laptop (OSX) then when I try to use my personal computer (can virtualize whatever OS I want, most realistic is Ubuntu for dev) to do projects the flow is totally different and it really slows me down or I worry it will take too much mental bandwidth to switch.
I just settled to learn both, but I still see myself ctrl+c copying on mac and when alt+c when back on my windows machine.
I have high hopes for WSL2 replacing MacOS or Ubuntu VM's for me, especially because Darwin is simply not a linux system and you really feel the difference once you work on natively compiled code.