diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-08-24 18:42:03 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-08-24 18:42:03 +0200 |
commit | a31b37a6904397192ff025d7af0dd342322103ff (patch) | |
tree | 6eb38b993d215a376f2ccf0c8acee5396676b7e6 /beta/hardware-configuration.nix | |
parent | a83ad0f2eb709fbcf6860c746654dca35ab42661 (diff) |
ssd tuning
see https://wiki.archlinux.org/title/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance
Diffstat (limited to 'beta/hardware-configuration.nix')
-rw-r--r-- | beta/hardware-configuration.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/beta/hardware-configuration.nix b/beta/hardware-configuration.nix index 215e221..af480f1 100644 --- a/beta/hardware-configuration.nix +++ b/beta/hardware-configuration.nix @@ -22,6 +22,7 @@ boot.initrd.luks.devices."crypt0" = { device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286-part2"; allowDiscards = true; + bypassWorkqueues = true; }; fileSystems."/nix" = { device = "/dev/mapper/crypt0"; |