shorkie-flake/base/ssh.nix
2025-07-27 00:01:27 +01:00

11 lines
203 B
Nix

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