Compare commits

...

2 Commits

Author SHA1 Message Date
Raphaël Numbus af4f384797 Fixed syntax error. 2026-03-01 12:10:03 +01:00
Raphaël Numbus 68949dc81b Forgot to add lib. 2026-03-01 12:06:57 +01:00
+3 -1
View File
@@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.numbus.services.clamav;
onAccessPaths = lib.mapAttrsToList (n: v: v.dataDir) (lib.filterAttrs (n: v:
@@ -12,7 +14,7 @@ in
enable = mkEnableOption "ClamAV open-source anti-virus software";
};
config.numbus.services.clamav = mkIf cfg.enable {
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.clamav pkgs.curl ];
services.clamav = {