swapDevices.*.randomEncryption.allowDiscards

Whether to allow TRIM requests to the underlying device. This option has security implications; please read the LUKS documentation before activating it.

Type
boolean
Default
false
Declared
<nixpkgs/nixos/modules/config/swap.nix>