I make a surface layer called sand. The main surface layer has the primary color. Then I make a power fractal in the color function. This I make a darker color. I play with the noise until I am happy, then play with the color sliders. When It looks about right, I do a test render.
Now it's time to add fake stones. I begin with the smallest scale first. I use a surface layer to color and displace the fake stone surface. Now add more fake stone shaders until you reach the maximum scale you want. They can all use the first fake stone surface. Now adjust the density of the stones. Small stones can have higher density, maybe 0.45. The largest stones I leave the default density.
The flatness can be adjusted in the next tab of the fake stone shader. Increasing this makes the stone flatten. Remember to uncheck the Blend as Stone density at the bottom of each fake stone layer. This avoids exploding stones.