mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 02:15:38 +00:00
13 lines
258 B
Nix
13 lines
258 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
# Enable fstrim, which tracks free space on SSDs for garbage collection
|
|
# More info: https://www.reddit.com/r/NixOS/comments/rbzhb1/if_you_have_a_ssd_dont_forget_to_enable_fstrim/
|
|
services.fstrim.enable = true;
|
|
}
|