infra/config/network.nix
2023-07-03 03:46:06 +02:00

11 lines
202 B
Nix

{
networking.firewall.enable = true;
services = {
fail2ban.enable = true;
openssh = {
enable = true;
ports = [1322];
settings.PasswordAuthentication = false;
};
};
}