flake/modules/nixos/security/clamav.nix
2025-10-26 09:13:59 +00:00

18 lines
313 B
Nix

{
pkgs,
lib,
config,
...
}:
with lib; {
options.mods.clamav.enable = mkEnableOption "enables clamav";
config = mkIf config.mods.clamav.enable {
services.clamav = {
scanner.enable = true;
updater.enable = true;
fangfrisch.enable = true;
daemon.enable = true;
};
};
}