From 25145305e6d10e7ce248fd053eada43a2f63113c Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 30 Apr 2024 00:10:02 +0200 Subject: [PATCH] add vaapiVdpau as extra package for opengl --- hosts/default/configuration.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 0268d1c..04acc3a 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -36,10 +36,9 @@ rec { enable = true; driSupport = false; package = config.hardware.nvidia.package; - }; - - environment.variables = { - VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json; + extraPackages = with pkgs; [ + vaapiVdpau + ]; }; # Allow unfree packages