summary refs log tree commit diff stats
path: root/system/settings/hardware/intel-gpu.nix
diff options
context:
space:
mode:
authorAlan Pearce2019-10-21 14:58:25 +0200
committerAlan Pearce2019-10-21 14:58:25 +0200
commit9f81cf18d0fac6db133a7df5d6c12c63ee6c25fa (patch)
treeeeab269e2332e8c20b29e7fead1effd637ff959a /system/settings/hardware/intel-gpu.nix
parent6338eb3e142f7dc7568ef454c6a5c0f9f4608b51 (diff)
downloadnixfiles-9f81cf18d0fac6db133a7df5d6c12c63ee6c25fa.tar.lz
nixfiles-9f81cf18d0fac6db133a7df5d6c12c63ee6c25fa.tar.zst
nixfiles-9f81cf18d0fac6db133a7df5d6c12c63ee6c25fa.zip
Replace parts of T470s configuration with nixos-hardware
Diffstat (limited to 'system/settings/hardware/intel-gpu.nix')
-rw-r--r--system/settings/hardware/intel-gpu.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/settings/hardware/intel-gpu.nix b/system/settings/hardware/intel-gpu.nix
index 81fd765e..95d27cc0 100644
--- a/system/settings/hardware/intel-gpu.nix
+++ b/system/settings/hardware/intel-gpu.nix
@@ -1,13 +1,9 @@
 { config, pkgs, ... }:
 
-{ hardware.opengl.extraPackages = with pkgs; [
-    vaapiIntel
-    vaapiVdpau
-    libvdpau-va-gl
-  ];
+{
 
-  boot.earlyVconsoleSetup = true;
-  boot.initrd.kernelModules = [
-    "i915"
+  boot.kernelParams = [
+    "i915.enable_guc=2"
+    "i915.fastboot=1"
   ];
 }