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