From a31b37a6904397192ff025d7af0dd342322103ff Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 24 Aug 2024 18:42:03 +0200 Subject: ssd tuning see https://wiki.archlinux.org/title/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance --- neko/hardware-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'neko/hardware-configuration.nix') diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix index 86705cb..567654b 100644 --- a/neko/hardware-configuration.nix +++ b/neko/hardware-configuration.nix @@ -22,14 +22,17 @@ boot.initrd.luks.devices."crypt0" = { device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part2"; allowDiscards = true; + bypassWorkqueues = true; }; boot.initrd.luks.devices."crypt1" = { device = "/dev/disk/by-id/nvme-CT2000P5PSSD8_213330E4ED05"; allowDiscards = true; + bypassWorkqueues = true; }; boot.initrd.luks.devices."crypt2" = { device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_2TB_S69ENF0R846614L"; allowDiscards = true; + bypassWorkqueues = true; }; fileSystems."/nix" = { device = "/dev/mapper/crypt0"; -- cgit v1.2.3