aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-05-03 21:52:15 +0200
committerlassulus <lassulus@lassul.us>2018-05-03 21:52:15 +0200
commit082896b620c01c56ebeef7812b275d140fa8efc9 (patch)
treedd57cd018d61eeec4fbb87a7844e09473eee5a03
parente4269ed29ba04d209f72c0b5e1e425b23c7ae197 (diff)
readme: add dummy ssh key authorization
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
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"
+ ];
}
'');
}];