summaryrefslogtreecommitdiff
path: root/os/core/security.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/core/security.nix')
-rw-r--r--os/core/security.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/os/core/security.nix b/os/core/security.nix
index c401a14..f69ab1f 100644
--- a/os/core/security.nix
+++ b/os/core/security.nix
@@ -58,27 +58,6 @@ in
apparmor-bin-utils
];
})
- (lib.mkIf cfg.antivirus.enable {
- services.clamav = {
- daemon = {
- enable = true;
- settings = {
- OnAccessIncludePath = [ "/home/${username}" ];
- OnAccessPrevention = true;
- OnAccessExcludeUname = "clamav";
- MaxThreads = 20;
- MaxQueue = 100;
- };
- };
- scanner.enable = true;
- updater.enable = true;
- fangfrisch.enable = true;
- # massive performance hit
- # clamonacc.enable = true;
- };
- boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
- users.users.${username}.extraGroups = [ "clamav" ];
- })
{
services.gnome.gnome-keyring.enable = true;