Fix (radix home services) module definition

keyring
anemofilia 2023-08-04 19:48:39 -03:00
parent 7af23ec49b
commit 4c009d206e
3 changed files with 10 additions and 9 deletions

View File

@ -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

View File

@ -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|#

View File

@ -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.")))