summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/hardware/intel-gpu.nix5
-rw-r--r--modules/machines/t470s.nix6
2 files changed, 6 insertions, 5 deletions
diff --git a/modules/hardware/intel-gpu.nix b/modules/hardware/intel-gpu.nix
index 6e0c2073..fc6b6fa3 100644
--- a/modules/hardware/intel-gpu.nix
+++ b/modules/hardware/intel-gpu.nix
@@ -11,10 +11,5 @@
   boot.earlyVconsoleSetup = true;
   boot.initrd.kernelModules = [
     "i915"
-    "intel_agp"
-  ];
-  boot.kernelModules = pkgs.lib.mkBefore [
-    "i915"
-    "intel_agp"
   ];
 }
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index 1bffb4c6..81a889e8 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -22,6 +22,12 @@
     (127,   80,     32767)
   '';
 
+  boot.kernelParams = [
+    "i915.enable_guc=2"
+    "i915.enable_fbc=1"
+    "i915.enable_psr=2"
+  ];
+
   systemd.services.ModemManager.enable = true;
 
   hardware.pulseaudio.extraConfig = ''