nix-infra/config/common/storage.nix
2023-09-14 20:09:51 +02:00

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;
}