Catalysis of the reaction: 2'-deoxyribonucleoside diphosphate + glutaredoxin disulfide + H2O -> ribonucleoside diphosphate + glutaredoxin.
ribonucleoside-diphosphate reductase activity, glutaredoxin disulfide as acceptor