summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
+ ];
}
'');
}];