Afaik a wrist rest are a big no no.
The best thing you can do IMHO (I have RSI/CANS and I wish that somebody told me this 15 yrs ago):
HardwareGet a good split keyboard and if possible without a numpad so that the mouse you use is closer to your body. Best to avoid cheap dome switches. I myself have a TEK on which I can move the CTRL on the same row as the ASDF keys and have no issues with my pinky since then.
Get a good mouse, a mouse that's tilted a bit is already a lot better.
IMHO you shouldn't go for a trackball, I tried several (still own one for server management) and they just overloaded my thumb and they stop you from moving your arm. Instead if you have the money a Bamboo Pen & Touch is what you want (except for gaming).
Make sure your desk height is right for you and that your chair is also ergonomic and at the right height (though chairs in general are bad for you in the long run but that's another topic).
Body postureMake sure that your hands hover above your keyboard while typing, don't put them on a wrist rest. And try to lay them down at the side when not using (specially your left arm, which kills me at the end of the day if I forget).
I don't think sitting at a 90 degree angle is good for your body but that's what most chairs only allow, I can't even do that anymore with my Sciatica.
Try to increase that angle if possible but without loosing support for your back.
And yes body posture matters because its all connected and puts strain on other parts of your body, the best Hardware can only do so much for you.
SoftwareInstall WorkRave (
http://www.workrave.org/) or another software that makes you take breaks. It took my a couple of years to find the right timing in which I don't get annoyed but still get enough rest. Without this I'd be in pain the next day.
My settings are 3m break every 18m30s and a 6m15s break every 37m30s, though you probably wont need such aggressive timing.
This is my advice as somebody who is been suffering with different kinds of RSI/CANS symptoms, I am no expert (doctors IMHO aren't either) but speak from experience. And remember medicine is not a solution to the problem its only a solution to the symptom.
Own and doing something like Yoga is really great too, it makes sure it stretches all the stuff that gets stiff and short from all that sitting.