remove home-manager from server

This commit is contained in:
Kopatz
2025-12-18 20:01:40 +01:00
parent c7162ae9b2
commit 853bd1f77a
11 changed files with 309 additions and 22 deletions

View File

@@ -11,6 +11,11 @@ in
{
options.custom.services.clamav = {
enable = lib.mkEnableOption "Enables clamav";
enableScanner = lib.mkOption {
type = with lib.types; bool;
default = true;
description = "Enable automatic scanning with clamscan.";
};
scanDirectories = lib.mkOption {
type = with lib.types; listOf str;
default = [
@@ -25,7 +30,7 @@ in
};
config = lib.mkIf cfg.enable {
services.clamav = {
scanner.enable = true;
scanner.enable = cfg.enableScanner;
scanner.scanDirectories = cfg.scanDirectories;
updater.enable = true;
daemon = {