refactor: move mcron job gexps to mcron service job lists
parent
8edc00eba6
commit
7ffeb3e1e7
6
buer.scm
6
buer.scm
|
@ -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
|
||||
|
|
|
@ -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"))))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue