Jump to content

Clamav: Difference between revisions

From NixOS Wiki
Johanno (talk | contribs)
I created a short info on how to install clamav since it isn't documented anywhere else.
 
Pigs (talk | contribs)
Use current channel for search.nixos.org link
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[https://search.nixos.org/packages?channel=24.11&show=clamav&from=0&size=50&sort=relevance&type=packages Clamav] is an antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats.
[https://search.nixos.org/packages?show=clamav&type=packages Clamav] is an antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats.


In order to install it:<syntaxhighlight lang="nix" line="1">
In order to install it:<syntaxhighlight lang="nix" line="1">
Line 9: Line 9:
services.clamav.updater.enable = true;
services.clamav.updater.enable = true;
</syntaxhighlight>
</syntaxhighlight>
[[Category:Applications]]

Latest revision as of 16:27, 7 May 2025

Clamav is an antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats.

In order to install it:

environment.systemPackages = [
  pkgs.clamav
];
services.clamav.daemon.enable = true;

services.clamav.updater.enable = true;