After 9 years, yes, it's time to replace the Mini.
Either with an m2 or an m2pro.
One warning:
DO NOT buy ANY new m-series Mac UNLESS you get one with 16gb of RAM.
8gb is no longer "enough".
If you buy one with only 8gb, you'll soon be wishing that you had bought more.