diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-11-24 17:57:34 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-11-24 17:57:34 +0530 |
| commit | e8252676414aa387a337282e4af7c49d465d3936 (patch) | |
| tree | 6c9826ed1b57cffd9eaa5f8ceda5a0e5b25079d3 /modules/clamav.nix | |
| parent | 9b07aa4ec5cb75ae53c61d2c971e073193dec476 (diff) | |
| download | nixos-config-e8252676414aa387a337282e4af7c49d465d3936.tar.gz nixos-config-e8252676414aa387a337282e4af7c49d465d3936.zip | |
Enable clam onaccess
Diffstat (limited to 'modules/clamav.nix')
| -rw-r--r-- | modules/clamav.nix | 10 |
1 files changed, 10 insertions, 0 deletions
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; |
