mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
18 lines
313 B
Nix
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;
|
|
};
|
|
};
|
|
}
|