all repos — nixfiles @ de5ffae0005076e9db33d62042de733cd5cf34d6

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

T470s: ensure TLP doesn't change I/O scheduler
Alan Pearce alan@alanpearce.eu
Mon, 30 Sep 2019 16:29:38 +0200
commit

de5ffae0005076e9db33d62042de733cd5cf34d6

parent

260decf18137a57be0ccf97d907fdd36437ca015

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

jump to
M modules/machines/t470s.nixmodules/machines/t470s.nix
@@ -35,6 +35,11 @@ hardware.pulseaudio.extraConfig = ''     load-module module-alsa-sink device=hw:0,7
   '';
 
+  services.tlp.extraConfig = ''
+    DISK_DEVICES="nvme0n1"
+    DISK_IOSCHED="keep"
+  '';
+
   services.xserver = {
     dpi = 109;
     monitorSection = ''