summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-03-20 21:13:10 +0100
committerMartin Fischer <martin@push-f.com>2025-03-20 21:13:10 +0100
commitdbc3621c794806b2a8badad292b909610108fc74 (patch)
tree45989cf71935a1e80c5cf139c832858c31804d3a
parent86322633835cf5970be8bd12c7d57899cbd49d28 (diff)
tweak(tente): enable fail2ban for SSH
-rw-r--r--nixos/hosts/tente/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix
index 72cd466..a2bf681 100644
--- a/nixos/hosts/tente/default.nix
+++ b/nixos/hosts/tente/default.nix
@@ -144,6 +144,9 @@ in
];
networking.firewall.allowedUDPPorts = [];
+ # comes with a pre-configured SSH jail
+ services.fail2ban.enable = true;
+
users.groups.www-data = {};
systemd.tmpfiles.rules = [