From 082896b620c01c56ebeef7812b275d140fa8efc9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 3 May 2018 21:52:15 +0200 Subject: readme: add dummy ssh key authorization --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ea1757c..bfbef78 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ let boot.loader.systemd-boot.enable = true; services.openssh.enable = true; environment.systemPackages = [ pkgs.git ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-rsa ADD_YOUR_OWN_PUBLIC_KEY_HERE user@localhost" + ]; } ''); }]; -- cgit v1.2.3