Yeah, you definitely want to minimize places for air to get in and out.
I did it by mounting connectors on the lid so everything plugs in the back.
If you're just drilling holes and running wires through them, once you get everything settled and the lengths/slack wire adjusted so you're happy with it, you could seal up the holes with silicone caulk...
Cheers!