summary refs log tree commit diff stats
path: root/system/settings/hardware
diff options
context:
space:
mode:
authorAlan Pearce2021-01-12 17:03:15 +0100
committerAlan Pearce2021-01-12 17:03:15 +0100
commit8ef974669bc7a1eb74f2751260d33aed43d4e311 (patch)
treedd880ccd2742d22b188cb5ddae775cf7d070715d /system/settings/hardware
parent0ec55c7bd5465d93ed406aef3bf6c1d0bdb5e003 (diff)
downloadnixfiles-8ef974669bc7a1eb74f2751260d33aed43d4e311.tar.lz
nixfiles-8ef974669bc7a1eb74f2751260d33aed43d4e311.tar.zst
nixfiles-8ef974669bc7a1eb74f2751260d33aed43d4e311.zip
Optimise startup on machines with / on NVMe
Diffstat (limited to 'system/settings/hardware')
-rw-r--r--system/settings/hardware/nvme-root.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/settings/hardware/nvme-root.nix b/system/settings/hardware/nvme-root.nix
new file mode 100644
index 00000000..3ba26f50
--- /dev/null
+++ b/system/settings/hardware/nvme-root.nix
@@ -0,0 +1,5 @@
+{ config, pkgs, ...}:
+
+{
+  boot.kernelParams = ["elevator=none"];
+}