cfg/users: document how to create ssh keys

This commit is contained in:
Colin 2022-05-17 02:11:52 +00:00
parent 1064867194
commit 5ca049dcbe

View File

@ -17,6 +17,8 @@
extraGroups = [ "wheel" ];
initialHashedPassword = "";
shell = pkgs.bashInteractive;
# XXX colin: create ssh key for THIS user by logging in and running:
# ssh-keygen -t ed25519
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGSDe/y0e9PSeUwYlMPjzhW0UhNsGAGsW3lCG3apxrD5 colin@colin.desktop"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG+MZ/l5d8g5hbxMB9ed1uyvhV85jwNrSVNVxb5ujQjw colin@colin.laptop"