Lost the lighting on my dash

The lights on one side of the dash work (instrument lights), which should prove the headlight switch itself is good. Yes, the headlight switch dimmer mechanism is probably the primary source of dash light problems if all the dash instrument lights quit.