anchor.diff:        };
       };
   
  -    systemd.timers.clamav-freshclam = mkIf cfg.updater.enable {
  +    systemd.timers.clamav-freshclam = optionalAttrs cfg.updater.enable {
         description = "Timer for ClamAV virus database updater (freshclam)";
         wantedBy = [ "timers.target" ];
         timerConfig = {
  
positive.code:     };
    };
  
    config = mkIf cfg.updater.enable or cfg.daemon.enable {
      environment.systemPackages = [ pkg ];
      users.extraUsers = singleton {
        name = clamavUser;
        uid = config.ids.uids.clamav;
  
negative.code:       };
      };
  
      systemd.services.clamav-freshclam = optionalAttrs cfg.updater.enable {
        description = "ClamAV virus database updater (freshclam)";
        restartTriggers = [ freshclamConfigFile ];
  
  