From 7ffeb3e1e739608757e442e688430dbcab1dd959 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Mon, 7 Aug 2023 22:40:55 -0300 Subject: [PATCH] refactor: move mcron job gexps to mcron service job lists --- buer.scm | 6 +----- radio.scm | 7 ++----- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/buer.scm b/buer.scm index ad02297..19ace9c 100644 --- a/buer.scm +++ b/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 diff --git a/radio.scm b/radio.scm index 5a39d52..894355f 100644 --- a/radio.scm +++ b/radio.scm @@ -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"))))))))