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

View File

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