Should I use sugar soap or denatured alcohol to clean nicotine from painted walls?
I've found that some Trisodium phosphate works great for this.  Just mix some up in a bucket and use a sponge, and it should pull the nicotine right off, leaving the paint.  I'd definitely advise testing it in a small area first, but I've used it for this exact purpose before.