anchor.diff:    ###### implementation
   
     config = mkIf cfg.enable {
  +
  +    services.mailman.settings = {
  +      mailman.site_owner = lib.mkDefault cfg.siteOwner;
  +      mailman.layout = "fhs";
  +
  +      "paths.fhs" = {
  +        bin_dir = "${pkgs.python3Packages.mailman}/bin";
  +        var_dir = "/var/lib/mailman";
  +        queue_dir = "$var_dir/queue";
  +        template_dir = "$var_dir/templates";
  +        log_dir = "/var/log/mailman";
  +        lock_dir = "$var_dir/lock";
  +        etc_dir = "/etc";
  +        ext_dir = "$etc_dir/mailman.d";
  +        pid_file = "/run/mailman/master.pid";
  +      };
  +
  +      mta.configuration = lib.mkDefault "${mtaConfig}";
  +
  +      "archiver.hyperkitty" = lib.mkIf cfg.hyperkitty.enable {
  +        class = "mailman_hyperkitty.Archiver";
  +        enable = "yes";
  +        configuration = "/var/lib/mailman/mailman-hyperkitty.cfg";
  +      };
  +    };
   
       assertions = let
         inherit (config.services) postfix;
  
positive.code:         default = [];
        };
  
        hyperkitty = {
          enable = mkEnableOption "the Hyperkitty archiver for Mailman";
  
  
negative.code:         requiredBy = [ "mailman-uwsgi.service" ];
          restartTriggers = [ config.environment.etc."mailman3/settings.py".source ];
          script = ''
            [[ -e "${webSettings.STATIC_ROOT}" ]] && find "${webSettings.STATIC_ROOT}/" -mindepth 1 -delete
            ${pythonEnv}/bin/mailman-web migrate
            ${pythonEnv}/bin/mailman-web collectstatic
            ${pythonEnv}/bin/mailman-web compress
  