I wear a beanie to bed most evenings because it both keeps me warm and blocks out the light.

Hats! Both the cause of, and solution to bed hair ^_^