Add clamav

This commit is contained in:
muon 2025-10-26 09:13:59 +00:00
parent 7722a877e6
commit 8d0f77e82f
4 changed files with 34 additions and 1 deletions

View file

@ -0,0 +1,18 @@
{
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;
};
};
}