From ba49d84448f3da2a53c2e707e2414983eb121de1 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Fri, 16 Feb 2024 11:41:08 -0300 Subject: [PATCH] operating-systems: buer: Use service instead of simple-service for mcron --- operating-systems/buer.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/operating-systems/buer.scm b/operating-systems/buer.scm index d14d95b..5e2a331 100644 --- a/operating-systems/buer.scm +++ b/operating-systems/buer.scm @@ -50,16 +50,15 @@ #|P|# #:use-module (radix services pm) #|Radix system|# - #|S|# #:use-module (radix system setuid) + #|S|# #:use-module (radix system security) + #:use-module (radix system setuid) + #|M|# #:use-module (radix system monitoring) #|Buer files|# #|S|# #:use-module ((buer files substitute-keys) #:prefix public-key:) #|T|# #:use-module ((buer files thinkfan) #:prefix file:thinkfan-) - #|Kicksecure configurations|# - #|K|# #:use-module (radix modules kicksecure-configs) - #|SRFI's|# #:use-module (srfi srfi-1) @@ -91,8 +90,8 @@ (kernel-arguments (cons* "modprobe.blacklist=usbmouse,usbkbd,pcspkr" "thinkpad_acpi.fan_control=1" - (kicksecure-delete %kicksecure-kernel-arguments - "debugfs"))) + (kicksecure-delete "debugfs" + %kicksecure-kernel-arguments))) (file-systems (cons* (file-system @@ -218,9 +217,10 @@ (compression `(("zstd" 3))))) #|Mcron service|# - (simple-service 'mcron-jobs mcron-service-type - (list #~(job "5 0 * * *" - "guix gc --optimize --free-space=5G"))) + (service mcron-service-type + (mcron-configuration + (jobs (list #~(job "5 0 * * *" + "guix gc --optimize --free-space=5G"))))) #|Device management services|# (service udev-service-type