summary refs log tree commit diff stats
path: root/modules/machines
diff options
context:
space:
mode:
authorAlan Pearce2019-08-27 15:05:03 +0200
committerAlan Pearce2019-08-27 15:05:03 +0200
commitf1dfff811175b6cb005fffc6d796a24059814029 (patch)
tree185f4118f94134bbbef77c1537beb432718e0780 /modules/machines
parentf0fb7b08933dbdbafb0a0117120948812e29b0ff (diff)
downloadnixfiles-f1dfff811175b6cb005fffc6d796a24059814029.tar.lz
nixfiles-f1dfff811175b6cb005fffc6d796a24059814029.tar.zst
nixfiles-f1dfff811175b6cb005fffc6d796a24059814029.zip
T470s: use BFQ scheduler
Diffstat (limited to 'modules/machines')
-rw-r--r--modules/machines/t470s.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index 99f2df50..c4a92869 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -28,6 +28,9 @@
     "i915.enable_psr=2"
   ];
 
+  boot.postBootCommands = ''
+    echo bfq > /sys/block/nvme0n1/queue/scheduler
+  '';
 
   hardware.pulseaudio.extraConfig = ''
     load-module module-alsa-sink device=hw:0,7