11 lines
321 B
Nix
11 lines
321 B
Nix
|
# Common storage configuration.
|
||
|
# Sources for this configuration:
|
||
|
# - https://git.grzb.de/yuri/nix-infra/-/blob/aa38daeea59f2ca12b7e591de6f8b61565780c48/configuration/common/default.nix#L73
|
||
|
|
||
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
# Enable periodic SSD TRIM on mounted paritions in the background.
|
||
|
services.fstrim.enable = true;
|
||
|
}
|