it's clamav.daemon
This commit is contained in:
parent
e9cefb8860
commit
70cc32e65d
26
clamav.nix
26
clamav.nix
|
@ -39,19 +39,21 @@ in {
|
||||||
[ "d ${cfg.state-directory} 0750 clamav clamav - -" ];
|
[ "d ${cfg.state-directory} 0750 clamav clamav - -" ];
|
||||||
|
|
||||||
services.clamav = {
|
services.clamav = {
|
||||||
enable = true;
|
daemon = {
|
||||||
settings = {
|
enable = true;
|
||||||
PhishingScanURLs = "no";
|
settings = {
|
||||||
DatabaseDirectory = mkForce cfg.state-directory;
|
PhishingScanURLs = "no";
|
||||||
User = "clavmav";
|
DatabaseDirectory = mkForce cfg.state-directory;
|
||||||
TCPSocket = cfg.port;
|
User = "clavmav";
|
||||||
|
TCPSocket = cfg.port;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
updater = {
|
||||||
updater = {
|
enable = true;
|
||||||
enable = true;
|
settings = {
|
||||||
settings = {
|
DatabaseDirectory = mkForce cfg.state-directory;
|
||||||
DatabaseDirectory = mkForce cfg.state-directory;
|
DatabaseOwner = "clamav";
|
||||||
DatabaseOwner = "clamav";
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue