diff --git a/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm b/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm index 902a127..bfc8f35 100644 --- a/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm +++ b/.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm @@ -20,6 +20,11 @@ (define %automation-user "auto") (define %guix-key (local-file "../../../.pubkeys/guix-coordinator-key.pub")) +;; Keys used for ssh access +(define %deploy-key (local-file "../../../.pubkeys/deploy-key.pub")) +(define %collin-ecc-key (local-file "../../../.pubkeys/collin-ecc.pub")) +(define %collin-rsa-key (local-file "../../../.pubkeys/collin-rsa.pub")) + (define syslog-configuration (plain-file "syslog.conf" " @@ -83,9 +88,9 @@ mail.* -/var/log/maillog (openssh-configuration (password-authentication? #f) (authorized-keys - `(("auto" ,(local-file "../../../.pubkeys/deploy-key.pub")) - ("collin" ,(local-file "../../../.pubkeys/collin.pub")) - ("root" ,(local-file "../../../.pubkeys/collin.pub")))))) + `(("auto" ,%deploy-key) + ("collin" ,%collin-ecc-key ,%collin-rsa-key) + ("root" ,%collin-ecc-key ,%collin-rsa-key))))) (service prometheus-node-exporter-service-type) (service dhcp-client-service-type) (service ntp-service-type) diff --git a/.pubkeys/collin-ecc.pub b/.pubkeys/collin-ecc.pub new file mode 100644 index 0000000..6bcf931 --- /dev/null +++ b/.pubkeys/collin-ecc.pub @@ -0,0 +1 @@ +ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLpK0kvNL8avs8jfsijQoQVwqzODFuwUDYHKauUSlX6lGSoUu1SRnQunOPQLDUgxaigxU9eWp29avXaiPZcP85c= openpgp:0x83F96525 diff --git a/.pubkeys/collin.pub b/.pubkeys/collin-rsa.pub similarity index 100% rename from .pubkeys/collin.pub rename to .pubkeys/collin-rsa.pub