Estrogen-related receptor γ2 controls NaCl uptake to maintain ionic homeostasis.