nixos/services/fail2ban/traefik.nix
Evie Litherland-Smith 320d76f972 Move server directory and syncthing into services directory
Separate service setup from traefik config for each, prep for future
server separation
2023-05-26 08:52:46 +01:00

18 lines
321 B
Nix

{...}: {
imports = [./default.nix];
services.fail2ban.jails = {
traefik-http = ''
enabled = true
filter = traefik-auth
ports = http,https,2222
backend = systemd
'';
traefik-ssh = ''
enabled = true
filter = sshd
ports = 2222
backend = systemd
'';
};
}