I had a toe nail fungus during my running days and I resolved it by using Vicks VapoRub.
Rubbed it into the top of the nail and also all around the edges.
Vicks was recommended years ago, no effect for me.
I suspect I spend more time sweating more than most?