anchor.diff:        };
   
         settings = mkOption {
  -        type = with types; attrsOf (attrsOf (oneOf [ bool int str (listOf str) ]));
  +        type = format.type;
           default = {};
           description = ''
             MySQL configuration. Refer to
  
positive.code:               max_allowed_packet = "16M";
              };
            }
          '';
        };
  
        extraOptions = mkOption {
          type = with types; nullOr lines;
          default = null;
          example = ''
            key_buffer_size = 6G
            table_cache = 1600
            log-error = /var/log/mysql_err.log
          '';
          description = ''
            Provide extra options to the MySQL configuration file.
  
            Please note, that these options are added to the
            <literal>[mysqld]</literal> section so you don't need to explicitly
            state it again.
          '';
        };
  
  
negative.code:   mysqldOptions =
      "--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${cfg.package}";
  
    format = pkgs.formats.ini { listsAsDuplicateKeys = true; };
    configFile = format.generate "my.cnf" cfg.settings;
  
  in
  
  