Since Hugo v0.109.0, the preferred config filename is `hugo.toml`.
https://gohugo.io/getting-started/configuration/#configuration-file
> With v0.109.0 and earlier the basename of the site configuration file was
> `config` instead of `hugo`. You can use either, but should transition to the
> new naming convention when practical.