anchor.diff:          '';
         };
   
  +      libpurple_plugins = mkOption {
  +        type = types.listOf types.package;
  +        default = [];
  +        example = literalExample "[ pkgs.purple-matrix ]";
  +        description = ''
  +          The list of libpurple plugins to install.
  +        '';
  +      };
  +
         configDir = mkOption {
           default = "/var/lib/bitlbee";
           type = types.path;
  
positive.code: 
    cfg = config.services.bitlbee;
    bitlbeeUid = config.ids.uids.bitlbee;
  
    bitlbeeConfig = pkgs.writeText "bitlbee.conf"
      ''
  
negative.code:     [defaults]
      ${cfg.extraDefaults}
      '';
  
    purple_plugin_path =
      lib.concatMapStringsSep ":"
        (plugin: "${plugin}/lib/pidgin/")
        cfg.libpurple_plugins
      ;
  
  in
  
  