simple-flake/base/ssh.nix
2025-07-15 21:03:35 +01:00

11 lines
204 B
Nix

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