shorkie-flake/base/ssh.nix

11 lines
204 B
Nix

{
networking.firewall.allowedTCPPorts = [22];
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
}