I hope Obsidian takes a page from Apple Notes’ book and simply adds a Trash folder.
I had to download and configure separate software (“Hazel”) to automate the deletion of files trashed more than 30 days ago :\