Any alternative to Apple's $300 wireless backup unit is welcome, but this method doesn't work any more. In 2011, James showed you how to back up your Mac to a homemade time capsule. Apple's backup software officially only works with supported devices, but with a little work you can trick it into backing up to any network drive!
Use your NAS, or any network share, for backing up your Mac with Time Machine.