From a024236c5526805395f0861bbdfc473c04679de4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 24 Aug 2024 16:14:40 -0300 Subject: Recover root@id_rsa configuration --- src/guix/system.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/guix') diff --git a/src/guix/system.scm b/src/guix/system.scm index 5212acb..9f24843 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -38,6 +38,7 @@ (define +ipv4+ (file "src/config/ipv4.txt")) (define +ipv6+ (file "src/config/ipv6.txt")) (define +tld+ (file "src/config/tld.txt")) +(define +root-pubkey+ (file "src/config/root-pubkey.txt")) (define +known-hosts+ (file "src/config/known-hosts.txt")) (define +offsite-ssh+ (file "src/config/offsite-ssh.txt")) @@ -125,7 +126,8 @@ (service q:dovecot-service-type) (service q:internet-postfix-service-type) (simple-service 'host-specific-etc-file etc-service-type - `(("known_hosts" ,(plain-file "known-hosts.txt" +known-hosts+)) + `(("id_rsa.pub" ,(plain-file "id_rsa.pub" +root-pubkey+)) + ("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") -- cgit v1.2.3