My thought is to repurpose it either as a hardware firewall since it has two enet ports, or NAS - ideally running headless, and would be able to be admin'd by the other Macs in the house.
My last Linux experience was Gentoo in 2004, and Slackware before that. I'm not afraid of CLI, but it's been 20 years, so what little I remember is probably completely outmoded in 2023.
Any advice for distros that would work for this use case?