os/shared/core/ssh.nix

17 lines
326 B
Nix
Raw Normal View History

2023-05-23 09:58:47 +02:00
{ pkgs, ... }:
{
services.openssh = {
enable = true;
settings.passwordAuthentication = false;
};
users.users."riley" = {
packages = [ pkgs.openssh ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDroUHLf56zlYLiMoD1JV5XXZNwY9tftobDttC6hnfiM riley@dev-lt-63"
];
};
}