Custom Search Engine in Tor Browser

I’d like to switch from DuckDuckGo to Searx for my searches. How can I add a custom search engine in Tor browser?

When you are on the page of the search engine, right-click the address bar and select "Add ā€œ[website name]ā€. It should now be selectable when typing in the address bar.

To make it the default search engine, go to Tor Browser Settings → Search and you will be able to choose there.