anchor.diff:          GRAPHITE_STORAGE_DIR = "/var/db/graphite/";
         };
         serviceConfig = {
  -        ExecStart = "${pkgs.pythonPackages.carbon}/bin/carbon-cache.py --debug --pidfile /tmp/carbonCache.pid start";
  -        User = "graphite";
  -        Group = "graphite";
  -      };
  -      restartTriggers = [
  -        pkgs.pythonPackages.carbon cfg.carbon.config cfg.carbon.storageAggregation
  -        cfg.carbon.storageSchemas cfg.carbon.rewriteRules
  +        ExecStart = "${pkgs.pythonPackages.carbon}/bin/carbon-cache.py --pidfile /tmp/carbonCache.pid start";
  +        User = "graphite";
  +        Group = "graphite";
  +      };
  +      restartTriggers = [
  +        pkgs.pythonPackages.carbon
  +        cfg.carbon.config
  +        cfg.carbon.storageAggregation
  +        cfg.carbon.storageSchemas
  +        cfg.carbon.rewriteRules
         ];
         preStart = ''
           mkdir -p ${dataDir}/whisper
  
positive.code:         GRAPHITE_STORAGE_DIR = "${dataDir}";
        };
        serviceConfig = {
          ExecStart = "${pkgs.pythonPackages.carbon}/bin/carbon-relay.py --debug --pidfile /tmp/carbonRelay.pid start";
          User = "graphite";
          Group = "graphite";
        };
  
negative.code: let
    cfg = config.services.graphite;
    writeTextOrNull = f: t: if t == null then null else pkgs.writeText f t;
    dataDir = "/var/db/graphite";
  in {
  
    ###### interface
  