Dome lights are often ground switched - ie, they are always connected to +12V.
Complications with dimmers also occur.
You want the PC to turn on the dome? Just interrupt the path to whatever switches the dome on - eg, door switches - but AFTER or without affecting any alarm or other triggers.
Traditional dome light wiring: