anchor.diff:      environment.etc."clamav/freshclam.conf".source = freshclamConfigFile;
       environment.etc."clamav/clamd.conf".source = clamdConfigFile;
   
  -    systemd.services.clamav-daemon = mkIf cfg.daemon.enable {
  +    systemd.services.clamav-daemon = optionalAttrs cfg.daemon.enable {
         description = "ClamAV daemon (clamd)";
         after = mkIf cfg.updater.enable [ "clamav-freshclam.service" ];
         requires = mkIf cfg.updater.enable [ "clamav-freshclam.service" ];
  
positive.code:       };
      };
  
      systemd.services.clamav-freshclam = mkIf cfg.updater.enable {
        description = "ClamAV virus database updater (freshclam)";
        restartTriggers = [ freshclamConfigFile ];
  
  
negative.code:     };
    };
  
    config = mkIf (cfg.updater.enable || cfg.daemon.enable) {
      environment.systemPackages = [ pkg ];
  
      users.extraUsers = singleton {
        name = clamavUser;
        uid = config.ids.uids.clamav;
  