aboutsummaryrefslogtreecommitdiff
path: root/tw/system/lud.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-05-20 16:16:21 +0200
committerTimo Wilken2023-05-20 16:16:21 +0200
commit8d654d059f0b85b5d2eb3aa92cf2a6ec689b56c6 (patch)
tree7aa6fdc4e3cabd68f4d916839375e3bc96181c8d /tw/system/lud.scm
parent8bce5a566bc0e909ac94d03bd8a07f06aad13b17 (diff)
Stop fstrimming on SSD-less vin
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