I just read about a new approach for safe eradication of Fungus Gnats. First to be sure they're fungus gnats, place a few slices of potato on top of your medium, overnight or at least for 5 hours. The larvae will be attracted to the moisture of the potato, and migrate towards the underside of them. Remove, and observe the larvae under a microscope. Go online, and see what the larvae look like, and if you have a match. Pick up a tub of Tanglefoot, and a pack of yellow card stock, or yellow construction paper. Smear several pieces of the yellow paper with tanglefoot. Place the tanglefoot cards on every pot. As many as you want. They're attracted to the color yellow. So this is going to be your adult eradication method. Of course you can buy fly paper instead, but it's more expensive.
Allow your soil to dry out on the surface for a couple of days. Mix Hydrogen Peroxide with water at a 1:4 ratio, and water as usual. This will have to be continued until the entire adult population is gone. H2O2 won't harm your roots, but it will kill the larvae. It would be a good idea to re-introduce beneficial bacteria, and fungi after you're sure your bug problem is gone.
I haven't tried this yet, but I plan to before it gets warmed up. I'm not particularly fond of having a halo of flies every time I go in my show.