An agreement has been reached to extend the operating life of a coal-fired power station in New South Wales by two years. The state government says extending the working life of the Eraring Plant in the Hunter region will give it more time to deliver renewable energy projects.