nixos-configs/nixos/compliance.nix

15 lines
234 B
Nix
Raw Permalink Normal View History

2024-10-27 11:23:20 +00:00
{
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;
};
};
}