aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure/guix/system.scm
diff options
context:
space:
mode:
Diffstat (limited to 'src/infrastructure/guix/system.scm')
-rw-r--r--src/infrastructure/guix/system.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm
index 5413f0e..b32b36f 100644
--- a/src/infrastructure/guix/system.scm
+++ b/src/infrastructure/guix/system.scm
@@ -1427,14 +1427,17 @@
(define (dovecot2-certificates config)
(match-record config <dovecot2-configuration>
- (hostname)
+ (config-name hostname)
(list
(certificate-configuration
(domains (list hostname))
(deploy-hook
(program-file
"dovecot2-certbot-deploy-hook"
- #~(invoke #$(file-append dovecot "/bin/doveadm") "reload")))))))
+ #~(invoke #$(file-append dovecot "/bin/doveadm")
+ "-c"
+ (string-append "/etc/dovecot2/" #$config-name)
+ "reload")))))))
(define dovecot2-service-type
(service-type