Setup user profile with friendly urls

Hello, How do I setup friendly urls for my users profiles, meaning

mydomain.com/username

this will look even better when using extended profiles in buddypress