initial commit
This commit is contained in:
commit
ebc1be5217
143 changed files with 7721 additions and 0 deletions
33
modules/features/security/security-malware-clamav.nix
Normal file
33
modules/features/security/security-malware-clamav.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ ... }:
|
||||
{
|
||||
config.dendritic.features.security-malware-clamav = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
clamav
|
||||
];
|
||||
|
||||
services.clamav = {
|
||||
daemon.enable = true;
|
||||
updater.enable = true;
|
||||
updater.frequency = 12; # Number of database checks per day
|
||||
scanner = {
|
||||
enable = true;
|
||||
# 4:00 AM
|
||||
interval = "*-*-* 04:00:00";
|
||||
scanDirectories = [
|
||||
"/home"
|
||||
"/var/lib"
|
||||
"/tmp"
|
||||
"/etc"
|
||||
"/var/tmp"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue