Academic librarians retire, die, or take better paying jobs. They do not get fired. Unless you are prone to felony crimes, this glorious job is yours until you choose to leave it. Yes, you have a de facto lifetime appointment.
Take advantage of this fact by doing just enough to jump through the promotion/tenure hoops, then coast into retirement with as little work ethic as you care to muster.