Adding a config option to set a paginate_by for products

On the project I'm working on, I must display a multiple of 3 number of products on both product list and category list.

Is this the correct approach?
Customize the entire catalogue application just to hard-code '18' as paginate_by seemed so wrong.