Recovering a Ripple wallet on Ledger Nano
Ledger should recover all your funds including any altcoins like XRP from your 24-word recovery phrase. You may read technical details about the process in BIP44.

I'm not sure whether there is an official Ledger tool for deriving keys for XPR from recovery phrase. You may use Ian Coleman's BIP39 Mnemonic Code Converter. It is possible to launch this site on the offline computer if you worry about keyloggers.

You may also find this discussion on Reddit interesting.