If you resume from sleep/suspend/hibernate to a blank screen with a movable cursor and use an Nvidia GPU, try adding
boot.extraModprobeConfig = ''
options nvidia_modeset vblank_sem_control=0
'';
to your configuration.nix
. This is a temporary workaround to a known issue. If this works for you, keep an eye on that thread for when a more permanent fix appears.