Is it safe to run servers in a room that contains a boiler? [fire safety]
The regulations say for domestic premises you must maintain 150mm separation between any low pressure gas pipework and any electrical equipment. The specific room location is irrelevant.
So it would seem for your scenario you will be fine.