I have an old Mac Pro that has been collecting dust for years. Today I bought an SSD and install Debian on the machine. It works flawlessly.
Further reading revealed that there is an active community around the classic mac pros and thanks to their modular nature they can be fully upgraded. People even upgrade the CPUs in this thing.
So if you like playing around with a PC like the old days, that is also Linux compatible, a Mac Pro 5,1 seems a good choice. AFAIK you can get it for cheap and a decent upgrade won’t break the bank.
My dad has one from 2008 or 2009 with a swapped motherboard and firmware mod to 5,1 so he can run more recent mac versions. Also put in a r9 280 with custom firmware but somehow is still using all spinning hard drives