darkirc_config.toml 3.1 KB

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