swapDevices.*.randomEncryption.allowDiscards
NixOS option
Whether to allow TRIM requests to the underlying device. This option has security implications; please read the LUKS documentation before activating it.
type: booleanDefault
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →false