diff options
author | David Thompson <dthompson@vistahigherlearning.com> | 2020-07-12 09:20:57 -0400 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2020-07-12 09:20:57 -0400 |
commit | cafb9f773bc0e411030e3aa14a9e55f9fd53ed12 (patch) | |
tree | b2b7523701cbb7494c422eeae58958ce52c02ea5 | |
parent | 8f18eb7eca804031d55b4e9ef08b50f6c61cda1e (diff) |
takemi: Factorize my pub key file references.
-rw-r--r-- | takemi.scm | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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. |