diff options
Diffstat (limited to 'modules/amdgpu.nix')
| -rw-r--r-- | modules/amdgpu.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/amdgpu.nix b/modules/amdgpu.nix index fe7f898..430faf3 100644 --- a/modules/amdgpu.nix +++ b/modules/amdgpu.nix @@ -1,20 +1,15 @@ { pkgs, config, ... }: { - hardware.opengl = { - enable = true; - driSupport = true; - driSupport32Bit = true; - }; - - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.enable = true; + hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk vaapiVdpau libvdpau-va-gl ]; - hardware.opengl.extraPackages32 = with pkgs; [ + hardware.graphics.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ]; |
