Fstrim
services.fstrim.enable
Whether to enable periodic SSD TRIM of mounted partitions in background.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/fstrim.nix
services.fstrim.interval
How often we run fstrim. For most desktop and server systems a sufficient trimming frequency is once a week.
The format is described in
{manpage}systemd.time(7)
.
Type: string
Default
"weekly"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/fstrim.nix