summary refs log tree commit diff stats
path: root/modules
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
parentf0fb7b08933dbdbafb0a0117120948812e29b0ff (diff)
downloadnixos-configuration-f1dfff811175b6cb005fffc6d796a24059814029.tar.lz
nixos-configuration-f1dfff811175b6cb005fffc6d796a24059814029.tar.zst
nixos-configuration-f1dfff811175b6cb005fffc6d796a24059814029.zip
T470s: use BFQ scheduler
Diffstat (limited to 'modules')
-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 99f2df5..c4a9286 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