summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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}"
];