os/shared/core/ssh.nix

17 lines
No EOL
326 B
Nix

{ pkgs, ... }:
{
services.openssh = {
enable = true;
settings.passwordAuthentication = false;
};
users.users."riley" = {
packages = [ pkgs.openssh ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDroUHLf56zlYLiMoD1JV5XXZNwY9tftobDttC6hnfiM riley@dev-lt-63"
];
};
}