From f6e4bf8a2e28c08618e9a368f2b3eccdb7397ced Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Mon, 11 Mar 2024 16:33:35 +0530 Subject: update --- modules/amdgpu.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/amdgpu.nix') diff --git a/modules/amdgpu.nix b/modules/amdgpu.nix index 4d4bb4c..5dcd9b0 100644 --- a/modules/amdgpu.nix +++ b/modules/amdgpu.nix @@ -19,9 +19,12 @@ 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}" ]; - - # environment.systemPackages = [ pkgs.cudatoolkit ]; } -- cgit v1.2.3