Linear Models for Flux Vacua