From 8d654d059f0b85b5d2eb3aa92cf2a6ec689b56c6 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 20 May 2023 16:16:21 +0200 Subject: Stop fstrimming on SSD-less vin --- tw/system/lud.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tw/system/lud.scm') 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 -- cgit v1.2.3