anchor.diff:  
       jmxConfig = mkOption {
         description = "JMX integration configuration";
  +      default = null;
  +      type = types.uniq (types.nullOr types.string);
  +    };
  +
  +    processConfig = mkOption {
  +      description = ''
  +        Process integration configuration
  + 
  +        See http://docs.datadoghq.com/integrations/process/
  +      '';
         default = null;
         type = types.uniq (types.nullOr types.string);
       };
  
positive.code:       { source = mongoConfig;
          target = "dd-agent/conf.d/mongo.yaml";
        }) ++
      (optional (cfg.jmxConfig != null)
        { source = jmxConfig;
          target = "dd-agent/conf.d/jmx.yaml";
  
negative.code:         Restart = "always";
          RestartSec = 2;
        };
        restartTriggers = [ pkgs.dd-agent ddConf diskConfig networkConfig postgresqlConfig nginxConfig mongoConfig jmxConfig processConfig ];
      };
  
      systemd.services.dogstatsd = {
  