aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/guix/system.scm7
1 files changed, 6 insertions, 1 deletions
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