Or just stop using macOS. I wish I could give you my Debian Thinkpad for a week. Granted I've put some time into tweaking it because the sock gnome3 rounded matte shit is shit, but I bet you'd convert. The only issue is the screen aspect ratio Apple still wins there.
The first thing I do with a new PC laptop, after making sure Bluetooth and the other hardware all works in Windows, is to wipe it and start installing Linux. Lately I've just cloned my Gentoo install that I've maintained since 2012.
I keep around one Win10 laptop for gaming, but I prefer Linux for any real development work.