The Response, Recovery, Resilience Fund, administered by Foundation Scotland, gives money to organisations affected by Covid-19.
A grant application was made by Lochmaben Community Council on behalf of the royal burgh and items were purchased to benefit hospital staff and patients.
The community hospital has been presented with a gazebo, new lights, a kettle and coffee machine and a radio/CD player.
In accepting the gifts, a hospital spokeswoman said: “I would like to take this opportunity to thank you, the community council, for thinking of us during these strange times.
“The gifts will be of benefit to both the patients and the staff.
“Those of you who pass the hospital in darkness may notice a new set of lights at the back of the hospital, and the radio/CD player has already been used by patients.
“The coffee machine is awaiting its maiden coffee-making session and the kettle will definitely be put to good use.
“I also have no doubt that the gazebo will be well used in the summer months, offering a shaded area for patients.”
Acknowledging the impact of Covid-19 on the hospital, a spokesman for the community council said: “The items chosen by the hospital were simple, straightforward gifts that will nonetheless provide entertainment, refreshment and comfort to everyone after what has been a difficult year for the NHS staff and their patients.
“We were pleased to be able to help the hospital after applying for a grant from Foundation Scotland to help fund projects, targeting those within our community who have been especially affected by the pandemic and it’s resulting restrictions.”