From 74bdc5cfba755c2e7c1eb45bc7688fe36ba42a0e Mon Sep 17 00:00:00 2001 From: BuyMyMojo Date: Mon, 31 Mar 2025 02:50:12 +1100 Subject: [PATCH] Add clamav --- nixos/configuration.nix | 1 + nixos/services.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 4ad5162..d9ef14a 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -217,6 +217,7 @@ unstable.dwarfs unrar mpv +pkgs.clamav unstable.waypipe unstable.nix-your-shell diff --git a/nixos/services.nix b/nixos/services.nix index e39667b..86aaa14 100644 --- a/nixos/services.nix +++ b/nixos/services.nix @@ -42,6 +42,18 @@ configDir = "/home/buymymojo/Documents/.config/syncthing"; # Folder for Syncthing's settings and keys }; + clamav = { + daemon.enable = true; + daemon.settings = { + MaxThreads = 16; + }; + updater.enable = true; + updater.interval = "weekly"; + updater.settings = { + CompressLocalDatabase = true; + }; + }; + # services.blocky = { # enable = true; # settings = {