about summary refs log tree commit diff
path: root/machines/devhell/gunnr.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/devhell/gunnr.nix')
-rw-r--r--machines/devhell/gunnr.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/devhell/gunnr.nix b/machines/devhell/gunnr.nix
index 9c482e8f..967ff403 100644
--- a/machines/devhell/gunnr.nix
+++ b/machines/devhell/gunnr.nix
@@ -21,6 +21,10 @@
     initrd = {
       availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
       kernelModules = [ "fuse" "amdgpu" ];
+      postDeviceCommands = ''
+        echo none > /sys/block/sda/queue/scheduler
+        echo none > /sys/block/sdb/queue/scheduler
+      '';
     };
 
     kernelParams = [ "pcie_aspm=off" ];