summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
authorAlan Pearce2019-08-27 15:04:53 +0200
committerAlan Pearce2019-08-27 15:04:53 +0200
commitf0fb7b08933dbdbafb0a0117120948812e29b0ff (patch)
treef8b8dc7674077f9f6a2a8d57718ebc01ee796de3 /modules/hardware
parent4b707d4833a602154adc774cd96248079ce81b0b (diff)
downloadnixfiles-f0fb7b08933dbdbafb0a0117120948812e29b0ff.tar.lz
nixfiles-f0fb7b08933dbdbafb0a0117120948812e29b0ff.tar.zst
nixfiles-f0fb7b08933dbdbafb0a0117120948812e29b0ff.zip
Enable bfq IO scheduler
Diffstat (limited to 'modules/hardware')
-rw-r--r--modules/hardware/bare-metal.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/hardware/bare-metal.nix b/modules/hardware/bare-metal.nix
index 9d79fb50..298eb66a 100644
--- a/modules/hardware/bare-metal.nix
+++ b/modules/hardware/bare-metal.nix
@@ -18,6 +18,8 @@
 
   boot.tmpOnTmpfs = true;
 
+  boot.kernelModules = [ "bfq" ];
+
   fileSystems."/".options = [ "noatime" "nodiratime" ];
   fileSystems."/home".options = [ "noatime" "nodiratime" ];
 }