forked from nyanloutre/nixos-config
trim regulier sur SSD
This commit is contained in:
parent
a2227a6a2a
commit
b6aedb1dbe
@ -67,6 +67,8 @@
|
|||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
systemd.services.nixos-upgrade.path = with pkgs; [ gzip gnutar xz.bin config.nix.package.out ];
|
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.automatic = true;
|
||||||
nix.gc.options = "--delete-older-than 15d";
|
nix.gc.options = "--delete-older-than 15d";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user