[skip ci] improve base layers configuration