aboutsummaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 1fdad1e0..4847462b 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)
@@ -337,6 +338,8 @@ replacement spec (to which `regexp-substitute/global' is applied)."
"source-highlight" "tk" "tmux" "tree" "xxd" "zip" "unzip"
"get-iplayer" "ffmpeg" "atomicparsley" "yt-dlp"
"neomutt" "mailcap" "lynx" ; mail (lynx for HTML mail)
+ "vdirsyncer" "khal"
+
;; Ranger can do code highlighting using python-pygments and
;; image previews in kitty using python-pillow.
"ranger" "python-pygments" "python-pillow" "mediainfo" "python-pdftotext"
@@ -438,6 +441,13 @@ replacement spec (to which `regexp-substitute/global' is applied)."
(stop #~(lambda _
(invoke "gpg-connect-agent" "killagent" "/bye"))))))
+ (simple-service
+ 'terminal-cronjobs home-mcron-service-type
+ (list #~(job "15 */2 * * *" ; every two hours at HH:15
+ (string-append #$(package-binary "vdirsyncer") " metasync"))
+ #~(job "0,30 * * * *" ; every half hour
+ (string-append #$(package-binary "vdirsyncer") " sync"))))
+
;; Configuration files for terminal-only programs in $XDG_CONFIG_HOME.
(service
home-xdg-configuration-files-service-type
@@ -446,6 +456,7 @@ replacement spec (to which `regexp-substitute/global' is applied)."
,(plain-file "alibuild-disable-analytics" ""))
("git/config" ,(local-file "gitconfig"))
("htop/htoprc" ,(local-file "htoprc"))
+ ("khal/config" ,(local-file "khal.conf"))
("mutt/muttrc" ,(local-file "muttrc"))
("mutt/catppuccin.muttrc"
,(local-file #.(if (string=? catppuccin-theme-variant "latte")
@@ -455,6 +466,7 @@ replacement spec (to which `regexp-substitute/global' is applied)."
("ranger/rc.conf" ,(local-file "ranger.conf"))
("user-dirs.locale" ,(plain-file "user-dirs.locale" "C")) ; Not sure if this is needed. Arch has it.
("user-dirs.dirs" ,(local-file "user-dirs.dirs"))
+ ("vdirsyncer/config" ,(local-file "vdirsyncer.conf"))
("X11/XCompose" ,(local-file "XCompose")) ; see also: $XCOMPOSEFILE variable
("X11/Xresources" ,(local-file "Xresources"))))