aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-25 18:13:13 -0300
committerEuAndreh <eu@euandre.org>2022-11-25 18:13:13 -0300
commitccffb51112117da6785713ed92e0b73ddb09b349 (patch)
tree9d44c76c0dbe83223969c0512cdce15cdda5f457
parentsrc/infrastructure/guix/system.scm: Simplify and make with-email work (diff)
downloadtoph-ccffb51112117da6785713ed92e0b73ddb09b349.tar.gz
toph-ccffb51112117da6785713ed92e0b73ddb09b349.tar.xz
src/infrastructure/guix/system.scm: Add cronjobs for borg and reconfigure
-rw-r--r--src/infrastructure/guix/system.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm
index c421bd1..6e8b1ac 100644
--- a/src/infrastructure/guix/system.scm
+++ b/src/infrastructure/guix/system.scm
@@ -28,6 +28,7 @@
(use-service-modules
certbot
cgit
+ mcron
messaging
networking
ssh
@@ -1720,6 +1721,12 @@
(service ntp-service-type)
(service shadow-group-service-type)
(service nanolist-service-type)
+ (service mcron-service-type
+ (mcron-configuration
+ (jobs
+ (list
+ #~(job "0 1 * * *" "cronjob backup -q cron")
+ #~(job "0 2 * * *" "cronjob reconfigure -U")))))
(service dkimproxyout-service-type
(dkimproxyout-configuration
(domains (list tld))))