summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-03-11 16:34:36 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-03-11 16:34:36 +0530
commitd72b6a8881d5a329d0e4aa9c43b6953a9b7be32c (patch)
treea47ff0f84df80dc5d23d1120c8ca06907966e806
parentf6e4bf8a2e28c08618e9a368f2b3eccdb7397ced (diff)
fix
-rw-r--r--modules/amdgpu.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/amdgpu.nix b/modules/amdgpu.nix
index 5dcd9b0..a8367cc 100644
--- a/modules/amdgpu.nix
+++ b/modules/amdgpu.nix
@@ -10,6 +10,8 @@
hardware.opengl.extraPackages = with pkgs; [
rocmPackages.clr.icd
amdvlk
+ vaapiVdpau
+ libvdpau-va-gl
];
hardware.opengl.extraPackages32 = with pkgs; [
@@ -19,11 +21,6 @@
services.xserver.videoDrivers = [ "amdgpu" ];
boot.initrd.kernelModules = [ "amdgpu" ];
- opengl.extraPackages = with pkgs; [
- vaapiVdpau
- libvdpau-va-gl
- ];
-
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];