Fix (radix home services) module definition
parent
7af23ec49b
commit
4c009d206e
|
@ -1,4 +1,4 @@
|
|||
(use-modules (radix home services)
|
||||
(define-modules (radix home services)
|
||||
#:export (use-home-service-modules))
|
||||
|
||||
(define service-module-hint
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'create-init-scripts
|
||||
#|Don't even verify for the presence of SystemD or OpenRC|#
|
||||
(λ _
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("pkg_check_modules\\((SYSTEMD|OPENRC).*" _) "")
|
||||
#|Fix the destinations|#
|
||||
|
|
|
@ -45,10 +45,11 @@
|
|||
(respawn? respawn?)))))
|
||||
|
||||
(define thinkfan-service-type
|
||||
(service-type (name 'thinkfan)
|
||||
(extensions
|
||||
(list (service-extension shepherd-root-service-type
|
||||
thinkfan-shepherd-service)))
|
||||
(default-value (thinkfan-configuration))
|
||||
(description
|
||||
"Adjust fan level according to configured temperature limits.")))
|
||||
(service-type
|
||||
(name 'thinkfan)
|
||||
(extensions
|
||||
(list (service-extension shepherd-root-service-type
|
||||
thinkfan-shepherd-service)))
|
||||
(default-value (thinkfan-configuration))
|
||||
(description
|
||||
"Adjust fan level according to configured temperature limits.")))
|
||||
|
|
Loading…
Reference in New Issue