summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-08-27 15:04:53 +0200
committerAlan Pearce2019-08-27 15:04:53 +0200
commitf0fb7b08933dbdbafb0a0117120948812e29b0ff (patch)
treef8b8dc7674077f9f6a2a8d57718ebc01ee796de3
parent4b707d4833a602154adc774cd96248079ce81b0b (diff)
downloadnixos-configuration-f0fb7b08933dbdbafb0a0117120948812e29b0ff.tar.lz
nixos-configuration-f0fb7b08933dbdbafb0a0117120948812e29b0ff.tar.zst
nixos-configuration-f0fb7b08933dbdbafb0a0117120948812e29b0ff.zip
Enable bfq IO scheduler
-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 9d79fb5..298eb66 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" ];
 }