It's too hot to walk vs. It's too hot for walking

Hi there

It’s too hot to walk. You’d best take the bus. Is it fine to say “It’s too hot for walking”?

Thanks in advance! Bye

“too hot for walking” seems to be talking more about the general activity of walking, rather than one specific journey. “too hot to walk” therefore seems a better fit here.