Regulation of the eukaryotic redox-state through metabolic reconfiguration