diff --git a/modules/radix/services/pm.scm b/modules/radix/services/pm.scm index f3055be..bb93510 100644 --- a/modules/radix/services/pm.scm +++ b/modules/radix/services/pm.scm @@ -57,22 +57,12 @@ arbitrary command-line arguments to ‘thinkfan’ as a list of strings.")) (define (thinkfan-modprobe-etc-service config) `(("modprobe.d/thinkfan.conf" ,thinkfan-modprobe-config))) -(define thinkfan-activation - (match-record-lambda - (config-file) - (when (file-like? config-file) - #~(begin - (use-modules (guix build utils)) - (copy-file #$config-file "/etc/thinkfan.conf"))))) - (define thinkfan-service-type (service-type (name 'thinkfan) (extensions (list (service-extension shepherd-root-service-type thinkfan-shepherd-service) - (service-extension activation-service-type - thinkfan-activation) (service-extension etc-service-type thinkfan-modprobe-etc-service))) (default-value (thinkfan-configuration))