❄️ Dotfiles for our NixOS system configuration.

fix(services:fail2ban): property names

Chloe 4ba7cb4f becd1626

Changed files
+3 -3
services
fail2ban
+3 -3
services/fail2ban/default.nix
···
# Jails for protecting various services
jails = {
# SSH protection - monitor failed login attempts
-
sshd = {
enabled = true;
port = "ssh";
filter = "sshd";
···
};
# Caddy HTTP/HTTPS protection - monitor for repeated 4xx/5xx errors
-
caddy-http = {
enabled = true;
port = "http,https";
filter = "caddy-http";
···
};
# Rate-based protection - ban on excessive requests
-
caddy-ratelimit = {
enabled = true;
port = "http,https";
filter = "caddy-ratelimit";
···
# Jails for protecting various services
jails = {
# SSH protection - monitor failed login attempts
+
sshd.settings = {
enabled = true;
port = "ssh";
filter = "sshd";
···
};
# Caddy HTTP/HTTPS protection - monitor for repeated 4xx/5xx errors
+
caddy-http.settings = {
enabled = true;
port = "http,https";
filter = "caddy-http";
···
};
# Rate-based protection - ban on excessive requests
+
caddy-ratelimit.settings = {
enabled = true;
port = "http,https";
filter = "caddy-ratelimit";