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.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm
index f6e2948..bad1348 100644
--- a/src/guix/system.scm
+++ b/src/guix/system.scm
@@ -45,6 +45,10 @@
((compose pkg:slurp path)
"src/config/known-hosts.txt"))
+(define +offsite-ssh+
+ ((compose pkg:slurp path)
+ "src/config/offsite-ssh.txt"))
+
(define +cert.pem+ (pkg:str "/etc/letsencrypt/live/" +tld+ "/cert.pem"))
(define +privkey.pem+ (pkg:str "/etc/letsencrypt/live/" +tld+ "/privkey.pem"))
@@ -116,8 +120,9 @@
(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+))))
+ (simple-service 'host-specific-etc-file etc-service-type
+ `(("known_hosts" ,(plain-file "known-hosts.txt" +known-hosts+))
+ ("offsite-ssh.txt" ,(plain-file "offsite-ssh.txt" +offsite-ssh+))))
(service mail-aliases-service-type
`(("root" "andre")
("support" ,@(map s1:first +users+)))))