summaryrefslogtreecommitdiff
path: root/src/guix/system.scm
diff options
context:
space:
mode:
Diffstat (limited to 'src/guix/system.scm')
-rw-r--r--src/guix/system.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm
index 0aa0b5d..9d317bd 100644
--- a/src/guix/system.scm
+++ b/src/guix/system.scm
@@ -41,6 +41,10 @@
path)
"src/tld.txt"))
+(define +known-hosts+
+ ((compose pkg:slurp path)
+ "src/config/known-hosts.txt"))
+
(define +cert.pem+ (pkg:str "/etc/letsencrypt/live/" +tld+ "/cert.pem"))
(define +privkey.pem+ (pkg:str "/etc/letsencrypt/live/" +tld+ "/privkey.pem"))
@@ -112,6 +116,8 @@
(service q:cyrus-sasl-service-type)
(service q:dovecot-service-type)
(service q:internet-postfix-service-type)
+ (simple-service 'known-hosts-etc-file etc-service-type
+ `(("known_hosts" ,(plain-file "known-hosts.txt" +known-hosts+))))
(service mail-aliases-service-type
`(("root" "andre")
("support" ,@(map s1:first +users+)))))