Nonabelian 2D gauge theories for determinantal Calabi-Yau varieties