kernel: add standalone amdgpu kernel module package
This commit is contained in:
parent
2006674aee
commit
80d814c9bf
6 changed files with 46 additions and 12 deletions
|
@ -29,7 +29,13 @@ in
|
|||
# hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||
# environment.variables = { AMD_VULKAN_ICD = "RADV"; };
|
||||
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.extraModulePackages = [
|
||||
((pkgs.amdgpu-kernel-module.override {
|
||||
kernel = config.boot.kernelPackages.kernel;
|
||||
}).overrideAttrs (_: {
|
||||
patches = [ ../patches/kernel/amdgpu-disable-shutdown-on-overheating.diff ];
|
||||
}))
|
||||
];
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/BTRFS_ROOT";
|
||||
fsType = "btrfs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue