summary refs log tree commit diff stats
path: root/modules/machines
diff options
context:
space:
mode:
authorAlan Pearce2019-06-03 18:07:45 +0200
committerAlan Pearce2019-06-03 18:07:45 +0200
commit7e6f5a6d6f329c890a4259b03dbeded189580003 (patch)
tree2a25830a37c6ea07273d354da566eee5f3fc4d92 /modules/machines
parent6fe33dc41c20bf0838eb0e40ed3a3d17ba58d44c (diff)
downloadnixos-configuration-7e6f5a6d6f329c890a4259b03dbeded189580003.tar.lz
nixos-configuration-7e6f5a6d6f329c890a4259b03dbeded189580003.tar.zst
nixos-configuration-7e6f5a6d6f329c890a4259b03dbeded189580003.zip
Optimise Intel GPU setup
Diffstat (limited to 'modules/machines')
-rw-r--r--modules/machines/t470s.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index 1bffb4c..81a889e 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 = ''