There's never a need for a magnesium drip. It depletes so slowly, if at all, that manual dosing once a week or once a month is often plenty.
What brand magnesium supplement?
I'd figure out how much you are evaporating each day, and set the drip to add about that much each night, if possible.
You should determine how much calcium hydroxide to add to that drip water by tracking alkalinity in the tank. If it is rising too much (over 11 dKH or whatever your target is) add less. If it is not maintaining at least 7 dKH, add more. Max amount is about 2 level teaspoons per gallon of fresh water.