From e8252676414aa387a337282e4af7c49d465d3936 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 24 Nov 2025 17:57:34 +0530 Subject: Enable clam onaccess --- modules/clamav.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/clamav.nix') diff --git a/modules/clamav.nix b/modules/clamav.nix index fbfac11..144f937 100644 --- a/modules/clamav.nix +++ b/modules/clamav.nix @@ -5,6 +5,16 @@ in { services.clamav = { daemon = { inherit enable; + settings = { + OnAccessPrevention = true; + OnAccessIncludePath = [ + "/home/imsohexy/Downloads" + "/home/imsohexy/Documents" + ]; + }; + }; + clamonacc = { + inherit enable; }; scanner = { inherit enable; -- cgit v1.3.1