trim regulier sur SSD
This commit is contained in:
parent
a2227a6a2a
commit
b6aedb1dbe
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@
|
|||
system.autoUpgrade.enable = true;
|
||||
systemd.services.nixos-upgrade.path = with pkgs; [ gzip gnutar xz.bin config.nix.package.out ];
|
||||
|
||||
services.fstrim.enable = true;
|
||||
|
||||
nix.gc.automatic = true;
|
||||
nix.gc.options = "--delete-older-than 15d";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue