darkirc_config.toml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 = ["tcp+tls://lilith0.dark.fi:26661", "tcp+tls://lilith1.dark.fi:26661"]
  25. # Whitelisted transports for outbound connections
  26. allowed_transports = ["tcp+tls"]
  27. # Enable transport mixing
  28. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  29. # By default this is not allowed.
  30. transport_mixing = false
  31. ## ====================
  32. ## IRC channel settings
  33. ## ====================
  34. ##
  35. ## You can create a shared secret with `darkirc --gen-secret`.
  36. ## Never share this secret over unencrypted channels or with someone
  37. ## who you do not want to be able to read all the channel messages.
  38. ## Use it like this example:
  39. #[channel."#foo"]
  40. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  41. #topic = "My secret channel"
  42. [channel."#dev"]
  43. topic = "DarkFi Development HQ"
  44. [channel."#markets"]
  45. topic = "Crypto Market Talk"
  46. [channel."#math"]
  47. topic = "Math Talk"
  48. [channel."#memes"]
  49. topic = "DarkFi Meme Reality"
  50. [channel."#philosophy"]
  51. topic = "Philosophy Discussions"
  52. [channel."#random"]
  53. topic = "/b/"
  54. ## ================
  55. ## Contact settings
  56. ## ================
  57. ##
  58. ## In this section we configure our contacts and people we want to
  59. ## have encrypted DMs with. Your contacts' public keys should be
  60. ## retrieved manually. Whenever this is changed, you can send a
  61. ## SIGHUP signal to the running darkirc instance to reload these.
  62. ##
  63. ## The secret key used to decrypt direct messages sent to your public
  64. ## key (the counterpart to this secret key).
  65. ## It is also recommended to paste the public key here as a comment in
  66. ## order to be able to easily reference it for sharing.
  67. ##
  68. ## You can generate a keypair with: darkirc --gen-keypair
  69. ## and replace the secret key below with the generated one.
  70. ## **You should never share this secret key with anyone**
  71. #[secret_key."AKfyoKxnHb8smqP2zt9BVvXkcN7pm9GnqqyuYRmxmWtR"]
  72. ## This is where you put other people's public keys. The format is:
  73. ## [contact."nickname"]. "nickname" can be anything you want.
  74. ## This is how they will appear in your IRC client when they send you a DM.
  75. ##
  76. ## Example (set as many as you want):
  77. #[contact."satoshi"]
  78. #public_key = "C9vC6HNDfGQofWCapZfQK5MkV1JR8Cct839RDUCqbDGK"
  79. #
  80. #[contact."anon"]
  81. #public_key = "7iTddcopP2pkvszFjbFUr7MwTcMSKZkYP6zUan22pxfX"