diff --git a/modules/services/clamav.nix b/modules/services/clamav.nix index 3e6874b..c3d7d24 100644 --- a/modules/services/clamav.nix +++ b/modules/services/clamav.nix @@ -46,7 +46,7 @@ in settings = { OnAccessPrevention = true; OnAccessIncludePath = onAccessPaths; - VirusEvent = "printf 'CLAM_VIRUSEVENT_VIRUSNAME=\"%v\"\\nCLAM_VIRUSEVENT_FILENAME=\"%f\"\\n' > /var/lib/clamav/virus_event.env && /run/wrappers/bin/sudo /run/current-system/sw/bin/systemctl start clamav-virus-notify.service"; + VirusEvent = "/run/current-system/sw/bin/systemctl start clamav-virus-notify.service"; }; }; };