NixOS is randomly restarting and freezing

any up on this, i’m facing random kernel panics and freezes too.

1 Like

Not really. I moved the laptop that was having the issue from NixOs to Proxmox which appears to have solved the problem.

Still not sure what the original cause was.

Sorry if this is not helpful.

2 Likes

i have read at a few places and tried it myself too, that using an old nvidia driver version fixes the kernel panics. but a few freezes a month are still happening for me.
this is the nvidia code.

hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
      version = "535.154.05";
      sha256_64bit = "sha256-fpUGXKprgt6SYRDxSCemGXLrEsIA6GOinp+0eGbqqJg=";
      sha256_aarch64 = "sha256-G0/GiObf/BZMkzzET8HQjdIcvCSqB1uhsinro2HLK9k=";
      openSha256 = "sha256-wvRdHguGLxS0mR06P5Qi++pDJBCF8pJ8hr4T8O6TJIo=";
      settingsSha256 = "sha256-9wqoDEWY4I7weWW05F4igj1Gj9wjHsREFMztfEmqm10=";
      persistencedSha256 = "sha256-d0Q3Lk80JqkS1B54Mahu2yY/WocOqFFbZVBh+ToGhaE=";
    };