operating-systems: buer: Use service instead of simple-service for mcron
parent
50e999c21f
commit
ba49d84448
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue