aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/root-pubkey.txt1
-rw-r--r--src/guix/system.scm4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/config/root-pubkey.txt b/src/config/root-pubkey.txt
new file mode 100644
index 0000000..4a715ff
--- /dev/null
+++ b/src/config/root-pubkey.txt
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC0o73ml7gMPhw/EwjIof6ph5PHPAL5EFDrP7PPZ9xCES79nSKZ0r40uW2RNp2Gzwb/QYtbr/aFkuX11Eo739upnj5cydyr4AHPLgoBoPVbn7/0/IIkin4r31GrWYdGzXRZSB5Tz0Za58OYW0RiUVHffx/E5+tOBQ2SMc6WK9/Q6FljGrD3yK/KYgZhcvmfsDTv2DGhFFORoUQSfGGwmRMJXGVPG2lDqoD3I3CWF34Y/b9GRHdSFgHy3iOas03WTsMaOSosmuF9MMm8Zn2515XGXU+uirsUJrFOa5leRBEvoEmx+WsB6CULn0PKk+ieghcq8z4j5oR1AOUFeSSJVIvlOyyt8x5rqLW8CvPFtU982LZrAq/DCcuaIkx/ww/cIbkUIN52Tv1Ia8jfV2aqRJ4hRshsuh9mj5fUlp+jmrMY6Ww5tl24OKrKRAT6pr5Fzgip927BkLPKJFClcp5fzZJLUiwNihYfuR5J+VselMPfxoTXfNVj/hsINclj2CLoCTM= root@toph
diff --git a/src/guix/system.scm b/src/guix/system.scm
index 6185939..efdc69a 100644
--- a/src/guix/system.scm
+++ b/src/guix/system.scm
@@ -34,6 +34,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"))
@@ -135,7 +136,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" "andreh")