trim regulier sur SSD

This commit is contained in:
nyanloutre 2018-04-13 16:10:51 +02:00
parent a2227a6a2a
commit b6aedb1dbe

View File

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