peroxide and water 4 to 1. let the soil dry a couple days, then use enough mix to cover the top of soil. that will kill eggs and pupae on contact.
also, pour boiling water down drains once a week as they live in drains too. treat visiting spiders well, they will set up shop near the plants to get those gnats. j"