What substrate are you using? You probably have fungus gnats, attracted most often to well-watered houseplants, but damp moss
& other damp organic matter suits them just fine.
I found this suggestion for houseplants- you might need to take snakes out & sacrifice the substrate currently in use this way>>>
How do you get rid of fungus gnats naturally?
Mix one part 3% hydrogen peroxide with four parts water. Allow the top layer of your soil to dry, and then water your plants with this solution as you normally would. The soil will fizz for a few minutes after application; this is normal. The fungus gnat larvae will die on contact with the hydrogen peroxide.