13 lines
401 B
Nix
13 lines
401 B
Nix
{...}: {
|
|
flake.nixosModules.panoramax-fail2ban = {
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf (config.services.panoramax.enable && config.services.fail2ban.enable) {
|
|
# TODO: configure options for fail2ban
|
|
# This is a placeholder - panoramax fail2ban configuration would need to be defined
|
|
# based on the specific log patterns and security requirements
|
|
};
|
|
};
|
|
}
|