We discuss equilibrium relativistic fermionic systems in lattice regularization, and extend the consideration of chiral magnetic effect to systems with spatial inhomogeneity and finite temperature. Besides, we take into account interactions due to exchange by gauge bosons. We find that the equilibrium chiral magnetic conductivity remains equal to zero.