anchor.diff: -{ config, pkgs, lib, ... }:
  +{ options, config, pkgs, lib, ... }:
   
   with lib;
   
  
positive.code:     services.matterbridge = {
        enable = mkEnableOption "Matterbridge chat platform bridge";
  
        configFile = mkOption {
          type = types.str;
          example = ''
            #WARNING: as this file contains credentials, be sure to set correct file permissions          [irc]
                [irc.freenode]
                Server="irc.freenode.net:6667"
                Nick="matterbot"
  
            [mattermost]
                [mattermost.work]
                 #do not prefix it wit http:// or https://
                 Server="yourmattermostserver.domain"
                 Team="yourteam"
                 Login="yourlogin"
  
negative.code: 
    cfg = config.services.matterbridge;
  
    matterbridgeConfToml =
      if cfg.configPath == null then
        pkgs.writeText "matterbridge.toml" (cfg.configFile)
      else
        cfg.configPath;
  
  in
  
  