summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-30 16:29:38 +0200
committerAlan Pearce2019-09-30 16:29:38 +0200
commitde5ffae0005076e9db33d62042de733cd5cf34d6 (patch)
treeae3c374d06f8911870d9def67781f4688f7b6f37
parent260decf18137a57be0ccf97d907fdd36437ca015 (diff)
downloadnixfiles-de5ffae0005076e9db33d62042de733cd5cf34d6.tar.lz
nixfiles-de5ffae0005076e9db33d62042de733cd5cf34d6.tar.zst
nixfiles-de5ffae0005076e9db33d62042de733cd5cf34d6.zip
T470s: ensure TLP doesn't change I/O scheduler
-rw-r--r--modules/machines/t470s.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/machines/t470s.nix b/modules/machines/t470s.nix
index b03a53ea..4ee6c2ac 100644
--- a/modules/machines/t470s.nix
+++ b/modules/machines/t470s.nix
@@ -35,6 +35,11 @@
     load-module module-alsa-sink device=hw:0,7
   '';
 
+  services.tlp.extraConfig = ''
+    DISK_DEVICES="nvme0n1"
+    DISK_IOSCHED="keep"
+  '';
+
   services.xserver = {
     dpi = 109;
     monitorSection = ''