shorkie-flake/base/ssh.nix

10 lines
204 B
Nix

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