aboutsummaryrefslogtreecommitdiff
path: root/modules/clamav.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/clamav.nix')
-rw-r--r--modules/clamav.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/clamav.nix b/modules/clamav.nix
new file mode 100644
index 0000000..6640a83
--- /dev/null
+++ b/modules/clamav.nix
@@ -0,0 +1,17 @@
+{ pkgs, ... }: {
+ services.clamav = {
+ daemon.enable = true;
+ scanner = {
+ enable = true;
+ interval = "Sun *-*-* 12:00:00";
+ # scanDirectories = [
+ # "/home"
+ # "/var/lib"
+ # "/tmp"
+ # "/etc"
+ # "/var/tmp"
+ # ];
+ };
+ updater.enable = false;
+ };
+}