If you can't justify the expense of a docking station for your phone (particularly for the N1) then this will do much the same, but better! It turns off unnecessary things and goes into clock mode while it's charging to make itself useful. When unplugged it reconfigures the phone ready for the outside world.

Create a new "State" task.

Choose POWER

For the power source select Any (I'd recommend AC actually, but up to you)

There you are, most of the same features as a dock. If you want you can replace the "Clock" app with "Car Home" or something similar if you want to use it in your car, in which case you'll want to NOT disable GPS obviously.