diff options
author | EuAndreh <eu@euandre.org> | 2022-11-16 17:48:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-11-16 17:48:17 -0300 |
commit | d4177f0c52023731ef3d5bc23c0c7a120c1cf569 (patch) | |
tree | d0c473b4511807a3ce8fff25e2341a3d482a7d2a | |
parent | Manage the Guix System without using root login (diff) | |
download | dotfiles-d4177f0c52023731ef3d5bc23c0c7a120c1cf569.tar.gz dotfiles-d4177f0c52023731ef3d5bc23c0c7a120c1cf569.tar.xz |
etc/guix/system.scm: Add id_rsa.pub as authorized key
-rw-r--r-- | etc/guix/system.scm | 7 |
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 |