trim the disks weekly

This commit is contained in:
Christoph Cullmann 2024-08-24 18:50:19 +02:00
parent a31b37a690
commit 76bdafcb5c
No known key found for this signature in database

View file

@ -226,6 +226,12 @@ in
allowReboot = false; allowReboot = false;
}; };
# trim the disks weekly
services.fstrim = {
enable = true;
interval = "weekly";
};
# avoid suspend ever to be triggered # avoid suspend ever to be triggered
systemd.targets.sleep.enable = false; systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false; systemd.targets.suspend.enable = false;