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 | |
parent | 0ec55c7bd5465d93ed406aef3bf6c1d0bdb5e003 (diff) | |
download | nixfiles-8ef974669bc7a1eb74f2751260d33aed43d4e311.tar.lz nixfiles-8ef974669bc7a1eb74f2751260d33aed43d4e311.tar.zst nixfiles-8ef974669bc7a1eb74f2751260d33aed43d4e311.zip |
Optimise startup on machines with / on NVMe
-rw-r--r-- | system/prefect.nix | 1 | ||||
-rw-r--r-- | system/satoshipad.nix | 1 | ||||
-rw-r--r-- | system/settings/hardware/nvme-root.nix | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index 5af4cdcf..63f9ad13 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -13,6 +13,7 @@ ./settings/configuration/user.nix ./settings/hardware/audio.nix ./settings/hardware/bare-metal.nix + ./settings/hardware/nvme-root.nix ./settings/hardware/mouse.nix ./settings/hardware/grub2.nix ./settings/hardware/nvidia-gpu.nix diff --git a/system/satoshipad.nix b/system/satoshipad.nix index a4618725..4c0c1679 100644 --- a/system/satoshipad.nix +++ b/system/satoshipad.nix @@ -14,6 +14,7 @@ ./settings/configuration/british-english.nix ./settings/configuration/nix.nix ./settings/configuration/user.nix + ./settings/hardware/nvme-root.nix ./settings/hardware/audio.nix ./settings/hardware/systemd-boot.nix ./settings/hardware/keyboardio-model01.nix 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"]; +} |