fix: update amdgpu role

This commit is contained in:
Ahwx 2025-04-07 18:03:31 +02:00
parent 66ddc34a0a
commit b628492fa8

View file

@ -12,17 +12,24 @@ in {
graphics = { graphics = {
enable = true; enable = true;
}; };
enableRedistributableFirmware = true;
opengl = { opengl = {
extraPackages = with pkgs; [ extraPackages = with pkgs; [
mesa
libva
libvdpau-va-gl
vulkan-loader
vulkan-validation-layers
amdvlk amdvlk
mesa.opencl
]; ];
# For 32 bit applications as well
extraPackages32 = with pkgs; [ extraPackages32 = with pkgs; [
driversi686Linux.amdvlk driversi686Linux.amdvlk # Install amdvlk for 32 bit applications as well
]; ];
}; };
enableRedistributableFirmware = true;
}; };
boot.initrd.kernelModules=[ "amdgpu" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
amdvlk amdvlk