I have an auto-dimming mirror/HomeLink system installed aftermarket, and was done so by removing the interior dome-light wiring and splicing the power/ground wires into the wiring for the interior dome lights.
This ensures power when the car is on at all times, but turns off once the keys...