The federal government will lift its share of NSW school funding in a similar deal to a $2.5 billion agreement with Victoria five weeks ago.