services: pm: Remove unecessary with-imported-modules expr

pull/1/head
Luis Guilherme Coelho 2024-01-03 00:39:41 -03:00
parent a9cf76ab1a
commit 1d0ecb3955
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 3 additions and 4 deletions

View File

@ -61,10 +61,9 @@ arbitrary command-line arguments to thinkfan as a list of strings."))
(match-record-lambda <thinkfan-configuration>
(config-file)
(when (file-like? config-file)
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
(copy-file #$config-file "/etc/thinkfan.conf"))))))
#~(begin
(use-modules (guix build utils))
(copy-file #$config-file "/etc/thinkfan.conf")))))
(define thinkfan-service-type
(service-type