What environmental factors affect our nervous system?

Likely numerous. Examples: Changes in barometric pressures or weather may provoke migraine headaches. Multiple sclerosis may be triggered by low contact with sun and secondary low Vitamin D. Presence of parasitic infections may protect against autoimmune disorders. It goes on and on, but the above gives an idea of the complexity.