diff --git a/share/common.nix b/share/common.nix index 3ce40f2..427e036 100644 --- a/share/common.nix +++ b/share/common.nix @@ -226,6 +226,12 @@ in allowReboot = false; }; + # trim the disks weekly + services.fstrim = { + enable = true; + interval = "weekly"; + }; + # avoid suspend ever to be triggered systemd.targets.sleep.enable = false; systemd.targets.suspend.enable = false;