If you have CLN, you can install the plug in Autoclean, which is a command line tool. Then you can use your command line to configure it to wipe your tx history periodically.
If you have any other ln wallet, the easiest way to do this involves a single L1 tx: first, open a channel in a new ln wallet. Second, send all your money from wallet A to wallet B. Third, delete wallet A. That deletes your tx history in wallet A.