summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-06-25 19:32:41 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-06-25 19:32:41 +0530
commit0f1f716a56e69f43f800b28359e6b4520fc2e7fa (patch)
treecb6f15237c44e3ce67577bf981a36ccfc0d09d58 /modules
parentb9923216d6e7c147d89b9a941775ad8101affa1a (diff)
update
Diffstat (limited to 'modules')
-rw-r--r--modules/amdgpu.nix11
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
];