aboutsummaryrefslogtreecommitdiff
path: root/modules/clamav.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-11-22 01:08:35 +0530
committerAkshay Nair <phenax5@gmail.com>2025-11-22 01:08:35 +0530
commit9b07aa4ec5cb75ae53c61d2c971e073193dec476 (patch)
tree3d95cc0c2162e1864221cf0de1010fb9feb06f05 /modules/clamav.nix
parent5f4b94771201c07531fcf9be128a53638fe3a6c4 (diff)
downloadnixos-config-9b07aa4ec5cb75ae53c61d2c971e073193dec476.tar.gz
nixos-config-9b07aa4ec5cb75ae53c61d2c971e073193dec476.zip
Add nessus-agent module
Diffstat (limited to 'modules/clamav.nix')
-rw-r--r--modules/clamav.nix32
1 files changed, 20 insertions, 12 deletions
diff --git a/modules/clamav.nix b/modules/clamav.nix
index 6640a83..fbfac11 100644
--- a/modules/clamav.nix
+++ b/modules/clamav.nix
@@ -1,17 +1,25 @@
-{ pkgs, ... }: {
+{ pkgs, ... }:
+let
+ enable = true;
+in {
services.clamav = {
- daemon.enable = true;
+ daemon = {
+ inherit enable;
+ };
scanner = {
- enable = true;
- interval = "Sun *-*-* 12:00:00";
- # scanDirectories = [
- # "/home"
- # "/var/lib"
- # "/tmp"
- # "/etc"
- # "/var/tmp"
- # ];
+ inherit enable;
+ interval = "Sat *-*-* 11:00:00";
+ scanDirectories = [
+ "/home"
+ "/var/lib"
+ "/tmp"
+ "/etc"
+ "/var/tmp"
+ ];
+ };
+ updater = {
+ inherit enable;
+ frequency = 1;
};
- updater.enable = false;
};
}