Screen and IO freezing after switching from 24.11 to 25.05 on Nvidia hardware

My config:

My hardware:

As said in the title after switching from 24.11 to 25.05 i have been having this problem. I don’t know what might be the problem.

I am dualbooting alongside Windows 11 and this hardware doesn’t have this issue there.

Also problem is intermittent and fixable by just turning my screens off and on again.

Thank you in advance for any help :slight_smile:

Sounds like a bug of some description. The nixpkgs package for nvidia is perpetually a lil’ behind, because stability guarantees. Maybe give manually updating a shot, at least until the next NixOS release:

hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
  version = "580.76.05";

  # Update these hashes to whatever nix tells you to,
  # and set them back to `lib.fakeHash` every time you
  # change the version.
  sha256_64bit = lib.fakeHash;
  openSha256 = lib.fakeHash;
  settingsSha256 = lib.fakeHash;

  # You can leave these unspecified
  sha256_aarch64 = lib.fakeHash;
  persistencedSha256 = lib.fakeHash;
};

will checkout this solution in next couple of days and get back to the thread if the issue seems to be fixed - thank you in advance @TLATER for the suggestion

issue fixed - it was a driver issue