summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/hardware/intel-gpu.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/hardware/intel-gpu.nix b/modules/hardware/intel-gpu.nix
index cc58001..593a06f 100644
--- a/modules/hardware/intel-gpu.nix
+++ b/modules/hardware/intel-gpu.nix
@@ -2,14 +2,18 @@
 
 { hardware.opengl.extraPackages = with pkgs; [
     vaapiIntel
+    vaapiVdpau
+    libvdpau-va-gl
   ];
 
+  services.xserver.videoDrivers = [ "intel" ];
+
   boot.earlyVconsoleSetup = true;
   boot.initrd.kernelModules = [
     "i915"
     "intel_agp"
   ];
-  boot.kernelModules = [
+  boot.kernelModules = pkgs.lib.mkBefore [
     "i915"
     "intel_agp"
   ];