From c6b6a3e6c702834eac2b633db2ed4c397b4ae113 Mon Sep 17 00:00:00 2001 From: adikro Date: Mon, 18 May 2026 15:25:50 +0200 Subject: set up disko, zfs, clamav aide, backup, nfs, zfs for oci and ups --- os/core/security.nix | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'os/core/security.nix') 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; -- cgit v1.3