@Carcass has a great solution for fungus gnats: mosquito dunks in a 5 gallon bucket of plain water. Leave them for 24 hours to fill the water with good bacteria and then use it to water your plants and mix your nutes. Keep adding water to the bucket and the bacteria will multiply and replace the ones you take out, so you won't need more dunks for a couple of weeks.