A used Mac Mini could be great for your home lab, but take a look at regular mini PCs first

Mac Minis are really strong in a couple of areas, but conventional mini PCs are better as general home lab machines