Add clamav

This commit is contained in:
muon 2025-10-26 09:13:59 +00:00
parent 7722a877e6
commit 8d0f77e82f
4 changed files with 34 additions and 1 deletions

View file

@ -38,6 +38,7 @@ in {
mods.desktop.wayland.enable = false;
mods.desktop.gaming.enable = true;
mods.boot.enable = true;
mods.clamav.enable = true;
mods.theme.enable = true;
mods.theme.scheme = "woodland";

View file

@ -1,4 +1,8 @@
{ pkgs, lib, ... }: {
{
pkgs,
lib,
...
}: {
imports = [
./core
./system
@ -6,6 +10,7 @@
./theme
./server
./sops
./security
./impermanence.nix

View file

@ -0,0 +1,18 @@
{
pkgs,
lib,
config,
...
}:
with lib; {
options.mods.clamav.enable = mkEnableOption "enables clamav";
config = mkIf config.mods.clamav.enable {
services.clamav = {
scanner.enable = true;
updater.enable = true;
fangfrisch.enable = true;
daemon.enable = true;
};
};
}

View file

@ -0,0 +1,9 @@
{
pkgs,
lib,
...
}: {
imports = [
./clamav.nix
];
}