Biotin (vitamin B7) has modest clinical evidence for brittle nails: small studies show increased nail thickness. It helps most in people who are deficient. Deficiency is rare with a normal diet.
Biotin may help brittleness but does not treat fungus. It is one piece of nail nutrition, not a cure.