Chiral modulations in curved space I: formalism