darkirc_config.toml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ## This is the darkirc configuration file.
  2. ## Review it carefully.
  3. ## JSON-RPC listen URL
  4. #rpc_listen="tcp://127.0.0.1:26660"
  5. ## IRC listen URL
  6. #irc_listen="tcp://127.0.0.1:6667"
  7. ## TLS certificate path if IRC acceptor uses TLS (optional)
  8. #irc_tls_cert = "/etc/letsencrypt/ircd/fullchain.pem"
  9. ## TLS secret key path if IRC acceptor uses TLS (optional)
  10. #irc_tls_secret = "/etc/letsencrypt/ircd/privkey.pem"
  11. ## List of channels to autojoin for new client connections
  12. autojoin = ["#dev", "#memes", "#philosophy", "#markets", "#math", "#random"]
  13. ## Daemon specific password (optional, but once you configure it,
  14. ## it is required from the client side)
  15. #password="CHANGE_ME"
  16. # P2P network settings
  17. [net]
  18. ## P2P accept addresses
  19. #inbound = ["tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
  20. ## Connection slots
  21. outbound_connections=8
  22. ## Addresses we want to advertise to peers (optional)
  23. ## These should be reachable externally
  24. #external_addrs = ["tcp+tls://my.resolveable.address:26661"]
  25. ## Seed nodes to connect to
  26. seeds = [
  27. "tcp+tls://lilith0.dark.fi:5262",
  28. "tcp+tls://lilith1.dark.fi:5262",
  29. ]
  30. # Whitelisted transports for outbound connections
  31. allowed_transports = ["tcp+tls"]
  32. # Enable transport mixing
  33. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  34. # By default this is not allowed.
  35. transport_mixing = false
  36. ## ====================
  37. ## IRC channel settings
  38. ## ====================
  39. ##
  40. ## You can create a shared secret with `darkirc --gen-secret`.
  41. ## Never share this secret over unencrypted channels or with someone
  42. ## who you do not want to be able to read all the channel messages.
  43. ## Use it like this example:
  44. #[channel."#foo"]
  45. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  46. #topic = "My secret channel"
  47. [channel."#dev"]
  48. topic = "DarkFi Development HQ"
  49. [channel."#markets"]
  50. topic = "Crypto Market Talk"
  51. [channel."#math"]
  52. topic = "Math Talk"
  53. [channel."#memes"]
  54. topic = "DarkFi Meme Reality"
  55. [channel."#philosophy"]
  56. topic = "Philosophy Discussions"
  57. [channel."#random"]
  58. topic = "/b/"
  59. ## ================
  60. ## Contact settings
  61. ## ================
  62. ##
  63. ## In this section we configure our contacts and people we want to
  64. ## have encrypted DMs with. Your contacts' public keys should be
  65. ## retrieved manually. Whenever this is changed, you can send a
  66. ## SIGHUP signal to the running darkirc instance to reload these.
  67. ##
  68. ## The secret key used to decrypt direct messages sent to your public
  69. ## key (the counterpart to this secret key).
  70. ## It is also recommended to paste the public key here as a comment in
  71. ## order to be able to easily reference it for sharing.
  72. ##
  73. ## You can generate a keypair with: darkirc --gen-keypair
  74. ## and replace the secret key below with the generated one.
  75. ## **You should never share this secret key with anyone**
  76. #[secret_key."AKfyoKxnHb8smqP2zt9BVvXkcN7pm9GnqqyuYRmxmWtR"]
  77. ## This is where you put other people's public keys. The format is:
  78. ## [contact."nickname"]. "nickname" can be anything you want.
  79. ## This is how they will appear in your IRC client when they send you a DM.
  80. ##
  81. ## Example (set as many as you want):
  82. #[contact."satoshi"]
  83. #public_key = "C9vC6HNDfGQofWCapZfQK5MkV1JR8Cct839RDUCqbDGK"
  84. #
  85. #[contact."anon"]
  86. #public_key = "7iTddcopP2pkvszFjbFUr7MwTcMSKZkYP6zUan22pxfX"