Pull the wires from the dimmer switch and jump around the switch to see if the headlights work or not. I've seen a lot of dimmers go bad because of there location on the floor. I've had the harness connectors melt and lose connection at the dimmer also,
That's where I would start,
Scott