refactor: move mcron job gexps to mcron service job lists

keyring
anemofilia 2023-08-07 22:40:55 -03:00
parent 8edc00eba6
commit 7ffeb3e1e7
2 changed files with 3 additions and 10 deletions

View File

@ -36,10 +36,6 @@
#|T|# texinfo text-editors tmux
#|V|# vpn)
#|Mcron jobs|#
(define garbage-collector-job
#~(job "5 0 * * *" "guix gc --optimize -F 5G"))
#|Operating system definition|#
(operating-system
(host-name "buer")
@ -176,7 +172,7 @@
#|Mcron service|#
(simple-service 'mcron-jobs mcron-service-type
(list garbage-collector-job))
(list #~(job "5 0 * * *" "guix gc --optimize -F 5G")))
#|Device management services|#
(service udev-service-type

View File

@ -35,10 +35,6 @@
#|S|# shells ssh shepherd
#|X|# xdg)
#|Mcron jobs|#
(define alarm-clock-job
#~(job "30 6 * * *" "mpv --shuffle $XDG_MUSIC_DIR"))
(home-environment
(packages
(list #|admin |# neofetch
@ -314,5 +310,6 @@
#|Mcron service|#
(service home-mcron-service-type
(home-mcron-configuration
(jobs (list alarm-clock-job)))))))
(jobs (list #~(job "30 6 * * *"
"mpv --shuffle $XDG_MUSIC_DIR"))))))))