all repos — nixfiles @ f1dfff811175b6cb005fffc6d796a24059814029

System and user configuration, managed by nix and home-manager

T470s: use BFQ scheduler
Alan Pearce alan@alanpearce.eu
Tue, 27 Aug 2019 15:05:03 +0200
commit

f1dfff811175b6cb005fffc6d796a24059814029

parent

f0fb7b08933dbdbafb0a0117120948812e29b0ff

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -28,6 +28,9 @@ "i915.enable_fbc=1"     "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