From 43ae447b34a20192fd1b82625e4c695eb94fb475 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 24 Feb 2026 21:58:41 +0100 Subject: [PATCH] clamav: init Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- hosts/laptop/configuration.nix | 1 + hosts/laptop/home.nix | 1 + nixos/clamav.nix | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 nixos/clamav.nix diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 553ae8c..e417037 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -13,6 +13,7 @@ ../../nixos/utils.nix ../../nixos/hyprland.nix ../../nixos/docker.nix + ../../nixos/clamav.nix ../../nixos/omen.nix # CHANGEME: For my laptop only, remove this (OMEN 16) diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 3181c56..59ac50f 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -54,6 +54,7 @@ pinta # Image editor notesnook element-desktop + clamtk # Dev go diff --git a/nixos/clamav.nix b/nixos/clamav.nix new file mode 100644 index 0000000..8e3cd87 --- /dev/null +++ b/nixos/clamav.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: { + environment.systemPackages = with pkgs; [ + clamav + ]; + + services.clamav = { + daemon.enable = true; + updater.enable = true; + scanner.enable = true; + fangfrisch.enable = true; + }; +}