Patch kernel to not shutdown on gpu overheating, the detection is wonky

This commit is contained in:
Leonardo Eugênio 2022-12-11 20:13:35 -03:00
parent c20dd2afd1
commit f501292d78
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{ config, pkgs, lib, inputs, ... }: {
# boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
boot.kernelPatches = [
{
name = "amdgpu-disable-shutdown-on-overtheating";
patch =
../patches/kernel/amdgpu-disable-shutdown-on-overtheating.diff;
}
];
}