mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: update amdgpu role
This commit is contained in:
parent
66ddc34a0a
commit
b628492fa8
1 changed files with 10 additions and 3 deletions
|
|
@ -12,17 +12,24 @@ in {
|
|||
graphics = {
|
||||
enable = true;
|
||||
};
|
||||
enableRedistributableFirmware = true;
|
||||
opengl = {
|
||||
extraPackages = with pkgs; [
|
||||
mesa
|
||||
libva
|
||||
libvdpau-va-gl
|
||||
vulkan-loader
|
||||
vulkan-validation-layers
|
||||
amdvlk
|
||||
mesa.opencl
|
||||
];
|
||||
# For 32 bit applications as well
|
||||
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; [
|
||||
amdvlk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue