anchor.diff:      };
     };
     config = mkIf cfg.enable {
  -    environment.systemPackages = [ cfg.package pkgs.sysstat pkgs.procps ];
  +    environment.systemPackages = [ datadogPkg pkgs.sysstat pkgs.procps ];
   
       users.extraUsers.datadog = {
         description = "Datadog Agent User";
  
positive.code:       default = pkgs.datadog-agent;
        defaultText = "pkgs.datadog-agent";
        description = ''
          Which DataDog v6 agent package to use.
          Override the <literal>pythonPackages</literal> argument
          of this derivation to include more checks.
        '';
        type = types.package;
      };
  
negative.code:     target = "datadog-agent/datadog.yaml";
    }] ++ makeCheckConfigs (cfg.checks // defaultChecks);
  
    # Apply the configured extraIntegrations to the provided agent
    # package. See the documentation of `dd-agent/integrations-core.nix`
    # for detailed information on this.
    datadogPkg = cfg.package.overrideAttrs(_: {
      python = (pkgs.datadog-integrations-core cfg.extraIntegrations).python;
    });
  in {
    options.services.datadog-agent = {
      enable = mkOption {
  