Another option is lots of exercise and long walks. Even better if you walk on a hard surface. My dogs are outside running around so much that they NEVER need their nails trimmed!
Another option is to take them to the local groomer every now and then. Most will trim the nails for free, even if you don't use their other services.