How old is the computer? It is likely that you will use more electricity then necessary.
You could instead donate the old computer and get a Raspberry Pi 5. In the long run you will be better off. It will be cheaper and will likely last at least five to ten years.