Commit 14fcd4f3c909

Vincent Demeester <vincent@sbr.pm>
2019-03-16 13:43:28
thinkpad-x220: disable psr
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent df2f2ba
Changed files (1)
hardware/thinkpad-x220.nix
@@ -2,9 +2,12 @@
 
 {
   imports = [ ./thinkpad.nix ];
-  boot.extraModprobeConfig = ''
-  options iwlwifi 11n_disable=1
-  '';
+  boot = {
+    kernelParams = [ "i915.enable_psr=0" ];
+    extraModprobeConfig = ''
+    options iwlwifi 11n_disable=1
+    '';
+  };
   security.pam.services.slimlock.fprintAuth = false;
   security.pam.services.slim.fprintAuth = false;
   security.pam.services.login.fprintAuth = false;