This feels like it can’t be correct.
Nails were expensive and difficult to obtain in the American colonies, so that abandoned houses were sometimes deliberately burned down to allow recovery of used nails from the ashes. This became such a problem in Virginia that a law was created to stop people from burning their houses when they moved. [0]
And nails were a significant expense in Thoreau’s cabin in _Walden_, c.a. 1850s
Maybe lettuce was a lot more expensive back then than I realize, though. I assume that produce is close to “free”, since you can grow it yourself.