aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-configuration.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 47e9d112..dcd2c561 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -27,6 +27,7 @@
(gnu home services)
(gnu home services desktop)
(gnu home services guix)
+ (gnu home services mcron)
(gnu home services pm)
(gnu home services shells)
(gnu home services shepherd)
@@ -462,6 +463,13 @@ replacement spec (to which `regexp-substitute/global' is applied)."
(stop #~(lambda _
(invoke "gpg-connect-agent" "killagent" "/bye"))))))
+ (simple-service
+ 'crontab home-mcron-service-type
+ ;; I don't think jobs run on boot if they would have run when the
+ ;; computer was turned off, so choose a time when the computer is
+ ;; probably turned on.
+ (list #~(job "0 21 * * *" "guix gc -d 2w -F 25G")))
+
;; Configuration files for terminal-only programs in $XDG_CONFIG_HOME.
(service
home-xdg-configuration-files-service-type