anchor.diff:    };
   
     config = mkIf cfg.enable {
  +    services.grafana-agent.settings = {
  +      # keep this in sync with config.services.grafana-agent.settings.defaultText.
  +      metrics = {
  +        wal_directory = mkDefault "\${STATE_DIRECTORY}";
  +        global.scrape_interval = mkDefault "5s";
  +      };
  +      integrations = {
  +        agent.enabled = mkDefault true;
  +        agent.scrape_integration = mkDefault true;
  +        node_exporter.enabled = mkDefault true;
  +        replace_instance_label = mkDefault true;
  +      };
  +    };
  +
       systemd.services.grafana-agent = {
         wantedBy = [ "multi-user.target" ];
         script = ''
  
positive.code:         freeformType = settingsFormat.type;
        };
  
        default = {
          metrics = {
            wal_directory = "\${STATE_DIRECTORY}";
            global.scrape_interval = "5s";
          };
          integrations = {
  
negative.code:           node_exporter.enabled = true;
            replace_instance_label = true;
          };
        '';
        example = {
          metrics.global.remote_write = [{
            url = "\${METRICS_REMOTE_WRITE_URL}";
  