Sorry for the late reply. I have an RTX 4070ti.
I get the same issue with an RTX 3070.
Interesting. That means I’m on the Pascal architecture (before the open source driver era), while @llakala and @dingaling are on the Ampere and Lovelace architectures (supported by open source drivers). I’m surprised to see this problem across such a wide range of architectures.
Possibly try to open kernel too.
beta are meant for testing so expect bugs, can use latest instead.
Someone on a related thread just reported a workaround: telling systemd not to freeze user processes before suspending. It didn’t work for me, but maybe it will work for others on this thread.
addig this for the later reference:
for me it seems to be that the proprietary driver (10 series) does not like deep sleep.
so i turned that off as described here: Fix System Freezes at hibernation · Issue #65 · wg-lux/luxnix · GitHub
boot.kernelParams = [
"mem_sleep_default=s2idle"
];
Hello from 2026, issue persists with my RTX 2060S with NixOS 25.11 and the stable Nvidia Driver (580.119.02).
mem_sleep_default=s2idle causes different visual glitches.
Create a new post and share relevant configuration. 10:1 the issue is with nvidia, and various cargo culted configuration settings; I can see some inadvisable settings across this thread that may cause graphical glitches.
I had the same problem and I added a udev rule so mutter uses the nvidia gpu (c.f. https://gitlab.gnome.org/GNOME/mutter/-/blob/main/doc/multi-gpu.md)
services.udev.packages = [
(pkgs.writeTextFile {
name = "mutter_primary_gpu";
text = ''
SUBSYSTEM=="drm", ENV{DEVTYPE}=="drm_minor", ENV{DEVNAME}=="/dev/dri/card[0-9]", SUBSYSTEMS=="pci", ATTRS{vendor}=="0x10de", ATTRS{device}=="0x2882", TAG+="mutter-device-preferred-primary"
'';
destination = "/etc/udev/rules.d/61-mutter-preferred-primary-gpu.rules";
})
];

