In home made soil,
You need good areation (pearlite)
and some water retention (peat moss or coir)
Some would argue that the only reason you want water retention is so you don't have to water as often.
It also depends a lot on your local soils natural composition, sandy soils won't even need pearlite, but clay based soils will need LOTS.