I wired in a piezo alarm, so if I leave my lights on when the ignition is off it's squeals at me. I found this easier than trying a lights off rewire. You could just change you headlight feed to come off accessories, which means lights only work when ignition is on, but I'm not sure if it's legal, or easy.