My layout "Nantford Spinney" featured in Railway Modeller's April 2023 edition.
I'm now building its successor "Bentley St. Mary" which is based on the Bentley in Hampshire.
A crocodile clip on the earth wire to the tongue, or an earlobe or... whatever, should do the trick! The problem with a nail is it would be difficult to ensure it stayed in!