From d4177f0c52023731ef3d5bc23c0c7a120c1cf569 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Nov 2022 17:48:17 -0300 Subject: etc/guix/system.scm: Add id_rsa.pub as authorized key --- etc/guix/system.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/guix/system.scm b/etc/guix/system.scm index f2d389f..fba8be0 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -112,7 +112,12 @@ (list epson-L365)))) (service openssh-service-type (openssh-configuration - (password-authentication? #f))) + (password-authentication? #f) + (authorized-keys + `(("andreh" ,(local-file + (string-append (or (getenv "XDG_CONFIG_HOME") + (string-append (getenv "HOME") "/.ssh")) + "/ssh/id_rsa.pub"))))))) #; (udev-rules-service 'backlight -- cgit v1.2.3