aboutsummaryrefslogtreecommitdiff
path: root/modules/clamav.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-01-09 17:27:17 +0530
committerAkshay Nair <phenax5@gmail.com>2025-01-09 17:27:17 +0530
commit27138ae14a46729714499e2e605e0313c8c2c8be (patch)
tree7859c46654cd7badcf1f2caa31fd82e1c6711e76 /modules/clamav.nix
parent00e0b6fb7fe7c1ef33df55cdb44e96fec06e006e (diff)
downloadnixos-config-27138ae14a46729714499e2e605e0313c8c2c8be.tar.gz
nixos-config-27138ae14a46729714499e2e605e0313c8c2c8be.zip
Add clamav and move thunderbird config to use module
Diffstat (limited to '')
-rw-r--r--modules/clamav.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/clamav.nix b/modules/clamav.nix
new file mode 100644
index 0000000..6640a83
--- /dev/null
+++ b/modules/clamav.nix
@@ -0,0 +1,17 @@
+{ pkgs, ... }: {
+ services.clamav = {
+ daemon.enable = true;
+ scanner = {
+ enable = true;
+ interval = "Sun *-*-* 12:00:00";
+ # scanDirectories = [
+ # "/home"
+ # "/var/lib"
+ # "/tmp"
+ # "/etc"
+ # "/var/tmp"
+ # ];
+ };
+ updater.enable = false;
+ };
+}