The first sentence is correct: to be used to doING something The second sounds akward to me; if ever said, it would mean "I am used to work (noun) but to nothing else. But I don't think you would EVER say it! Hope it helps!
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.