mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add clamav
This commit is contained in:
parent
7722a877e6
commit
8d0f77e82f
4 changed files with 34 additions and 1 deletions
18
modules/nixos/security/clamav.nix
Normal file
18
modules/nixos/security/clamav.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue