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