On mine the water lines are soldered copper, the gas has a flex line. I don't know if it's against code to run solid a gas line into the unit, sure would make the job more difficult and you would have to have a union in the line. Code requires a shut off valve at all appliances, AFIK codes for...