During the build command, environment variable overrides for nitro preset aren't being passed to nuxt kit. If a preset is not defined in nuxt config nitro itself loads the environment variables, otherwise the only value taken is the preset from nuxt config.
Downstream issue: nuxt/nuxt#29525