forked from CCCHH/nix-infra
Add config for fstrim
This commit is contained in:
parent
32c549447d
commit
5bfa655d3e
2 changed files with 11 additions and 0 deletions
10
config/common/storage.nix
Normal file
10
config/common/storage.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
# 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue