aboutsummaryrefslogtreecommitdiff
path: root/tw/system/lud.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tw/system/lud.scm')
-rw-r--r--tw/system/lud.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/tw/system/lud.scm b/tw/system/lud.scm
index 8412c3a8..2dbb512e 100644
--- a/tw/system/lud.scm
+++ b/tw/system/lud.scm
@@ -170,7 +170,12 @@ innodb_io_capacity = 4000
;; TODO: JSON exporter (Nextcloud)
;; TODO: Syncthing exporter
;; TODO: Transmission exporter
- )
+
+ ;; Only this server has SSDs, not vin.
+ (simple-service 'fstrim mcron-service-type
+ (list #~(job "0 4 * * *" ; after guix gc
+ (string-append #$(file-append util-linux "/sbin/fstrim")
+ " --fstab --verbose")))))
%nextcloud-services
%matrix-services