diff --git a/hosts/12kingdoms_shoukei/hardware-configuration.nix b/hosts/12kingdoms_shoukei/hardware-configuration.nix index 18ccd804..db30eb96 100644 --- a/hosts/12kingdoms_shoukei/hardware-configuration.nix +++ b/hosts/12kingdoms_shoukei/hardware-configuration.nix @@ -53,6 +53,11 @@ # whether to allow TRIM requests to the underlying device. # it's less secure, but faster. allowDiscards = true; + # Whether to bypass dm-crypt’s internal read and write workqueues. + # Enabling this should improve performance on SSDs; + # https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance + bypassWorkqueues = true; + }; }; diff --git a/hosts/idols_ai/hardware-configuration.nix b/hosts/idols_ai/hardware-configuration.nix index 584acc5e..e7cdc8f7 100644 --- a/hosts/idols_ai/hardware-configuration.nix +++ b/hosts/idols_ai/hardware-configuration.nix @@ -56,6 +56,10 @@ # whether to allow TRIM requests to the underlying device. # it's less secure, but faster. allowDiscards = true; + # Whether to bypass dm-crypt’s internal read and write workqueues. + # Enabling this should improve performance on SSDs; + # https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance + bypassWorkqueues = true; }; };