From 28e01ee2877cd8658f3123f90f312bcaaa925658 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 7 Dec 2022 01:00:53 +0100 Subject: [PATCH] Use intel-media-driver by default --- configuration.nix | 3 ++- modules/gui.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index ad94c9b..77ff011 100644 --- a/configuration.nix +++ b/configuration.nix @@ -27,7 +27,8 @@ with pkgs; lib.mkDefault config.hardware.enableRedistributableFirmware; services.fwupd.enable = true; - hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ]; + hardware.opengl.extraPackages = + [ intel-media-driver vaapiIntel vaapiVdpau libvdpau-va-gl ]; # Bootloader configuration boot.loader = { diff --git a/modules/gui.nix b/modules/gui.nix index a12706e..d636bf4 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -48,6 +48,7 @@ with pkgs; export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket export GIT_CONFIG_NOSYSTEM=true export SYSTEMD_LESS=FRSMK + export LIBVA_DRIVER_NAME=iHD ''; wrapperFeatures.gtk = true; };