I'm having a bit of a problem with fungus gnats.
I'm growing in a home-brew soil mix. It's about 50% peat, 10% vermiculite (really coarse--about 1/2" pieces), 5% perlite, and mushroom compost and local "landscaping compost".
I supplimented it with blood meal, bone meal, Chickety DooDoo...