diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-11 16:33:35 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-11 16:33:35 +0530 | 
| commit | f6e4bf8a2e28c08618e9a368f2b3eccdb7397ced (patch) | |
| tree | 5a85a33c7550908d77869d65a29afef1b42ac6ca /modules/amdgpu.nix | |
| parent | f48007d6499add3da5558e8c271b568f67a0104f (diff) | |
update
Diffstat (limited to 'modules/amdgpu.nix')
| -rw-r--r-- | modules/amdgpu.nix | 7 | 
1 files changed, 5 insertions, 2 deletions
| 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 ];  } | 
