{ config, lib, ... }: let cfg = config.pim.compliance; in { options.pim.compliance.enable = lib.mkEnableOption "compliance"; config = lib.mkIf cfg.enable { services.clamav = { daemon.enable = true; }; }; }