IIRC, years ago someone mentioned that vinegar was a good cure for nail fungus. I don't recall if we were speaking about apple cider vinegar or not. Might have been the Swede or someone from up North country. Not sure.
I "outgrew" dandruff years ago somehow while keeping most of my hair. Hope your problems are cleared up.