summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--takemi.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/takemi.scm b/takemi.scm
index 233ae9b..93c2d94 100644
--- a/takemi.scm
+++ b/takemi.scm
@@ -5,6 +5,7 @@
"/etc/letsencrypt/live/dthompson.us/fullchain.pem")
(define letsencrypt-cert-key
"/etc/letsencrypt/live/dthompson.us/privkey.pem")
+(define dave-pub-key (local-file "dave.pub"))
(define takemi-os
(operating-system
@@ -47,11 +48,11 @@
(openssh-configuration
(password-authentication? #f)
(authorized-keys
- `(("dave" ,(local-file "dave.pub"))
- ("publish" ,(local-file "dave.pub"))))))
+ `(("dave" ,dave-pub-key)
+ ("publish" ,dave-pub-key)))))
(service gitolite-service-type
(gitolite-configuration
- (admin-pubkey (local-file "dave.pub"))
+ (admin-pubkey dave-pub-key)
(rc-file (gitolite-rc-file
;; Grant read access to git group so
;; cgit will work.