diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-08-24 18:50:19 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-08-24 18:50:19 +0200 |
commit | 76bdafcb5c66f65a8d7bd11a99cb6fad6c75e4cd (patch) | |
tree | dad5df36175f2f183fc3f3d208c974e94afc79b5 /share/common.nix | |
parent | a31b37a6904397192ff025d7af0dd342322103ff (diff) |
trim the disks weekly
Diffstat (limited to 'share/common.nix')
-rw-r--r-- | share/common.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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; |