nixos: add graphite api to graphite functionality
Merge pull request #4034 from offlinehacker/graphiteApi

nixos: add graphite api to graphite functionality