diff options
author | Timo Wilken | 2023-05-20 16:16:21 +0200 |
---|---|---|
committer | Timo Wilken | 2023-05-20 16:16:21 +0200 |
commit | 8d654d059f0b85b5d2eb3aa92cf2a6ec689b56c6 (patch) | |
tree | 7aa6fdc4e3cabd68f4d916839375e3bc96181c8d /tw/system | |
parent | 8bce5a566bc0e909ac94d03bd8a07f06aad13b17 (diff) |
Stop fstrimming on SSD-less vin
Diffstat (limited to 'tw/system')
-rw-r--r-- | tw/system/lud.scm | 7 |
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 |