anchor.diff:    useMysql = cfg.database.type == "mysql";
     usePostgresql = cfg.database.type == "postgres";
     useSqlite = cfg.database.type == "sqlite3";
  +  format = pkgs.formats.ini { };
     configFile = pkgs.writeText "app.ini" ''
       APP_NAME = ${cfg.appName}
       RUN_USER = ${cfg.user}
  
positive.code:         default = "/var/lib/gitea";
          type = types.str;
          description = lib.mdDoc "gitea data directory.";
        };
  
        log = {
          rootPath = mkOption {
            default = "${cfg.stateDir}/log";
            defaultText = literalExpression ''"''${config.${opt.stateDir}}/log"'';
            type = types.str;
            description = lib.mdDoc "Root path for log files.";
          };
          level = mkOption {
            default = "Info";
            type = types.enum [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ];
            description = lib.mdDoc "General log level.";
          };
        };
  
        user = mkOption {
  
negative.code:         };
        };
  
        lfs = {
          enable = mkOption {
            type = types.bool;
  