trim the disks weekly
This commit is contained in:
parent
a31b37a690
commit
76bdafcb5c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue