diff options
author | Alan Pearce | 2019-06-03 18:07:45 +0200 |
---|---|---|
committer | Alan Pearce | 2019-06-03 18:07:45 +0200 |
commit | 7e6f5a6d6f329c890a4259b03dbeded189580003 (patch) | |
tree | 2a25830a37c6ea07273d354da566eee5f3fc4d92 /modules | |
parent | 6fe33dc41c20bf0838eb0e40ed3a3d17ba58d44c (diff) | |
download | nixfiles-7e6f5a6d6f329c890a4259b03dbeded189580003.tar.lz nixfiles-7e6f5a6d6f329c890a4259b03dbeded189580003.tar.zst nixfiles-7e6f5a6d6f329c890a4259b03dbeded189580003.zip |
Optimise Intel GPU setup
Diffstat (limited to 'modules')
-rw-r--r-- | modules/hardware/intel-gpu.nix | 5 | ||||
-rw-r--r-- | modules/machines/t470s.nix | 6 |
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 = '' |