iac/services/openssh.nix
2026-02-22 13:04:59 +01:00

16 lines
245 B
Nix

{ ... }:
{
services = {
openssh = {
enable = true;
ports = [ 10022 ];
openFirewall = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
};
}