Hi,
there are, in principle, several ways of applying an electric field. The only way that makes proper sense for a periodic solid is the
periodic efield. I would be (very) surprised if it works with k-points. The main methods are in qs_efield_berry.F.
See
Stengel, Massimiliano; Spaldin, Nicola A.; Vanderbilt, David.
NATURE PHYSICS, 5 (4), 304-308 (2009).
Ab initio molecular dynamics in a finite homogeneous electric field
Electric displacement as the fundamental variable in
electronic-structure calculations.
and
Zhang, Chao, Jürg Hutter, and Michiel Sprik. "Computing the Kirkwood g-Factor by combining constant maxwell electric field and electric displacement simulations: application to the dielectric constant of liquid water." The journal of physical chemistry letters 7.14 (2016): 2696-2701.
There is also a non periodic version that might be easier to follow (efield_utils.F) and a general external potential that could be applied. Depends what you want to do.
Matt