The power level of each bin in the power within the resolution BW of the DFT (think of each bin as the average power within the bandwidth of a bandpass filter centered on each bin, which is what the DFT is: a bank of filters). The resolution BW is the sampling rate divided by the total number of bins and your noise power is spread evenly over the sampling rate. So if you increase the total number of samples, the power indicated by each bin will go down exactly as you observe.
From this we have $P_{noise}$ which is the total power as white noise spread evenly from $-f_s/2$ to $f_s/2$ where $f_s$ is the sampling rate. If we increase the number of points in the DFT from $N$ to $M$, without changing the sampling rate (thus we have changed the time duration), there will be no change in $P_{noise}$ but we will change the power that we measure in each bin as follows:
$$P_{N} = \frac{P_{noise}}{N}$$
$$P_{M} = \frac{P_{noise}}{M}$$
Where $P_{N}$ and $P_{M}$ represent the noise power in each bin for an $N$ point DFT and $M$ point DFT respectively (assuming white noise).
From the second equation we can equate $P_{noise}$ in terms of $P_{M}$ and $M$ and substitute this into the first equation as follows:
$$ P_{noise} = M P_{M}$$
$$P_{N} = \frac{P_{noise}}{N} = \frac{M }{N}P_{M}$$
So for example, if we doubled the number of points from $N$ to $2N$, it's intuitive that the power in each bin will go down by a factor of 2, thus the power in each bin with $N$ points will be double the power in each bin with $2N$ points.
To derive the equation, this comes directly from the power in each bin is given by $f_s/N$ for $N$ total bins. This the power ratio for two different total number of bins is simply $M/N$. For a power ratio to get dB we use $10Log()$ as follows:
$$10Log_{10}(M/N)$$
This is the same as
$$10Log_{10}(\sqrt{M/N}^2)$$
Which is then:
$$20Log_{10}(\sqrt{M/N})$$
Since $log(x^n)=n log(x)$
The formula given for SNR as:
$$SNR_M = SNR_N + 20 log_{10}\bigg(\sqrt{\frac{M}{N}}\bigg)$$
is referring to the achievable SNR for a narrow band signal that occupies in either case just one bin (such as a single tone). So this formula says that the SNR for a single tone relative to the noise in none bin in an M point DFT would be the larger by a factor of $10log_{10}(M/N)$ of the SNR for the same tone with the same total white noise power sampled at the same rate with a smaller N point DFT. (I find referring to this as SNR misleading since we are often interested in the SNR of a modulated signal that would occupy many bins, in which case the SNR is independent of $M$ and $N$).
An additional word of caution- averaging the dB of a power measurement results in a significant error in the estimate of actual power (the result will be close to 2.5 dB higher than actual if Gaussian white noise, as nicely explained in this old HP app note #1303). Assuming the DFT was not windowed (or the losses due to windowing were properly accounted for as explained in more detail here) the power estimate is best found from the mean of the sum of the squares (as a complex conjugate product) of the DFT bins and then taking the dB of that quantity.
Case in point with OP’s example, the standard deviation was 1.5 and 128 samples, so the true power in each bin would be given as:
$$10log_{10}(1.5^2/128)= -17.55 \text{ dB}$$