NixFiles/systems/pogmachine/ssh.nix

14 lines
288 B
Nix
Raw Permalink Normal View History

2023-04-09 12:56:40 +01:00
{ config, ... }:
{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
programs.ssh.hostKeyAlgorithms = [ "sk-ssh-ed25519@openssh.com" "ssh-ed25519" ];
}