I think changing the way you think has more value than anything else - trying to get better at thinking by optimizing your biology is like trying to become a better programmer by buying a faster computer.
Read about mental models, read about meaningness, and learn to view the world as a fractal system of systems. I find that reading about ecology, psychology, and sociology to be particularly helpful in building/debugging my mental models, especially my models of other people’s models.
That said, getting enough sleep and exercise wouldn’t hurt.