Need a little more of a detailed description to give a more accurate probable diagnosis. Could also be a fungus of the nail. Actually more common than you realize. Could be contracted from pets or even an unclean manicure.
I'm not sure what you are referring to but nutrition can affect our nails. Do you take a multi vitamin?