infra/config/network.nix

13 lines
241 B
Nix
Raw Normal View History

2023-05-06 06:49:46 +02:00
{
networking.firewall.enable = true;
services = {
fail2ban.enable = true;
openssh = {
enable = true;
ports = [1322];
settings.PasswordAuthentication = false;
2024-03-09 01:05:51 +01:00
settings.PermitRootLogin = "no";
2023-05-06 06:49:46 +02:00
};
};
}