Linux and macOS is a great combo. I recently bought a full-spec UM790 Pro (Ryzen 9 with 64GB RAM), installed Ubuntu and colocated it with my router. I run vscode on my low-spec Mac Mini (M1 with 8GB RAM) with all the grunt work handled by the Ubuntu server thanks to the Remote-SSH extension. I saved several thousands of dollars by not buying a Mac with a decent amount of RAM, get the great macOS user experience, and develop on the platform (Linux) that I’m deploying to.