The best part of MacOS for me is the unix tools. The command line is a real unix command line. And the rest just works. If I need a linux environment I ssh into a VPS.
I want good window management. Linux gives me a huge number of options. MacOS - not as much.
If you're talking about hardware interaction from the command line, that's very different and I don't think there's a fix.