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