When you set up your Ledger Nano X it showed you a 24-word recovery phrase. This is a mnemnoic code.
You have to either use Ledger to create an Ethereum Account which uses that mnemonic code as a seed, if Ledger does support that, or find a BIP32, BIP39 and BIP44 compliant software wallet that allows you to enter your mnemonic code.
A mnemonic code serves as a seed to generate a vast amount of Ethereum accounts. So you will probably have to search some of those Ethereum accounts generated by your mnemonic seed (by supplying different derivation paths) before you find the correct one matching your Ethereum address.
Please research if the software wallet you want to use is open-source and well reviewed, since your coins are at stake. Only download the wallet from a trusted source, preferably the Github repository or the offical website of the organization that maintains it. To be 100% sure that the software wallet originated from the original source, perform a comparison of the checksums (optional).