One-dimensional dielectric-flexoelectric deformations in nematic layers