We study the effect of supergravity corrections due to a linear and a bilinear term in the K\"ahler potential, in the context of a supersymmetric hybrid inflation model. By appropriate choice of the parameters associated to these terms, we are able to satisfy the main cosmological constraints for the spectral index $n_s$ and the tensor-to-scalar ratio $r$. In addition, this model predicts primordial black hole abundance enough to account for the whole dark matter of the Universe and gravitational wave spectra within the reach of future detection experiments. The predictions of the model can be made compatible to the NANOGrav reported signal, at the cost of significantly lower primordial black hole abundance.