To activate the ambient lighting in the Model S, you need to enable the "Ambient Lights" feature.

This feature automatically turns on the interior ambient lights whenever the headlights are on.

To enable or disable this feature, go to Controls > Lights > Ambient Lights.