anchor.diff:  
     gerritConfig = pkgs.writeText "gerrit.conf" (
       lib.generators.toGitINI cfg.settings
  +  );
  +
  +  replicationConfig = pkgs.writeText "replication.conf" (
  +    lib.generators.toGitINI cfg.replicationSettings
     );
   
     # Wrap the gerrit java with all the java options so it can be called
  
positive.code:         '';
        };
  
        plugins = mkOption {
          type = types.listOf types.package;
          default = [];
  
negative.code: 
          # copy the config, keep it mutable because Gerrit
          ln -sfv ${gerritConfig} etc/gerrit.config
          ln -sfv ${replicationConfig} etc/replication.config
  
          # install the plugins
          rm -rf plugins
  