If you gave me enough money to last for the rest of my life, I would do it.
If you gave me enough money that I didn't have to work for the rest of my life, I would do it.
この場合、次のような言い方ができますよ。
ーIf you gave me enough money to last for the rest of my life, I would do it.
「一生暮らせるのに十分なお金をくれるならやるよ」
enough money to last for the rest of my life で「一生暮らせるくらいの金額」を表現できます。
ーIf you gave me enough money that I didn't have to work for the rest of my life, I would do it.
「一生働かなくていいくらいのお金をくれるならやるよ」
enough money that I didn't have to work for the rest of my life を使っても表現できます。
ご参考まで!