boot.initrd.systemd.repart.discard
NixOS option
Controls whether to issue the BLKDISCARD I/O control command on the space taken up by any added partitions or on the space in between them. Usually, it’s a good idea to issue this request since it tells the underlying hardware that the covered blocks shall be considered empty, improving performance. See systemd-repart(8) for details.
type: booleanDefault
declared in: nixos/modules/system/boot/systemd/repart.nixView source on NixOS/nixpkgs →true