diff options
author | Alan Pearce | 2021-01-12 17:03:15 +0100 |
---|---|---|
committer | Alan Pearce | 2021-01-12 17:03:15 +0100 |
commit | 8ef974669bc7a1eb74f2751260d33aed43d4e311 (patch) | |
tree | dd880ccd2742d22b188cb5ddae775cf7d070715d /system/settings/hardware | |
parent | 0ec55c7bd5465d93ed406aef3bf6c1d0bdb5e003 (diff) | |
download | nixfiles-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.nix | 5 |
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"]; +} |