diff options
author | Alan Pearce | 2018-02-02 11:35:21 +0100 |
---|---|---|
committer | Alan Pearce | 2018-02-02 11:35:21 +0100 |
commit | c4c502a39489719b3922daab42f3a25014c069e2 (patch) | |
tree | b203294e6971ad1b9b3dc1d8c45263f02ed4b4d6 /modules | |
parent | c69589291f0199bd6ea755a6e857c9d0008ba93c (diff) | |
download | nixos-configuration-c4c502a39489719b3922daab42f3a25014c069e2.tar.lz nixos-configuration-c4c502a39489719b3922daab42f3a25014c069e2.tar.zst nixos-configuration-c4c502a39489719b3922daab42f3a25014c069e2.zip |
Update Intel GPU configuration
Diffstat (limited to 'modules')
-rw-r--r-- | modules/hardware/intel-gpu.nix | 6 |
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" ]; |