If you want them to come on only when your headlights are on, run a tap from your headlight switch (+12V only when your headlights are on) to your underdash (new) switch. That provides "signal" power to your new switch.
Then from there, wire up a relay to run your new lights. Run a power...