summary refs log tree commit diff stats
path: root/system/settings/machines
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/machines
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/machines')
-rw-r--r--system/settings/machines/t470s.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/system/settings/machines/t470s.nix b/system/settings/machines/t470s.nix
index 4ee6c2ac..7343dadb 100644
--- a/system/settings/machines/t470s.nix
+++ b/system/settings/machines/t470s.nix
@@ -3,9 +3,7 @@
 { hardware.usbWwan.enable = false; # unused
   systemd.services.ModemManager.enable = false;
 
-  hardware.firmware = with pkgs; [
-    firmwareLinuxNonfree
-  ];
+  hardware.enableRedistributableFirmware = true;
 
   services.thinkfan.sensors = ''
     hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input
@@ -22,11 +20,6 @@
     (127,   80,     32767)
   '';
 
-  boot.kernelParams = [
-    "i915.enable_guc=2"
-    "i915.enable_psr=1"
-  ];
-
   boot.postBootCommands = ''
     echo bfq > /sys/block/nvme0n1/queue/scheduler
   '';
@@ -53,7 +46,6 @@
 
   imports = [
     ../hardware/intel-gpu.nix
-    ../hardware/hidpi.nix
     ../hardware/thinkpad.nix
   ];
 }