We prove that almost every path of a random walk on a finitely generated nonamenable group converges in the compactification of the group introduced by W. J. Floyd. In fact, we consider the more general setting of ergodic cocycles of some semigroup of one-Lipschitz maps of a complete metric space with a boundary constructed following Gromov. We obtain in addition that when the Floyd boundary of a finitely generated group is non-trivial, then it is in fact maximal in the sense that it can be identified with the Poisson boundary of the group with reasonable measures. The proof relies on works of Kaimanovich together with visibility properties of Floyd boundaries. Furthermore, we discuss mean proximality of ϖΓ and a conjecture of McMullen. Lastly, related statements about the convergence of certain sequences of points, for example quasigeodesic rays or orbits of one-Lipschitz maps, are obtained.