configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. { config, pkgs, lib, ... }:
  2. {
  3. c3d2.hq.statistics.enable = true;
  4. networking.firewall.enable = false;
  5. services.toxBootstrapd = {
  6. enable = true;
  7. extraConfig = ''
  8. enable_ipv6 = true
  9. enable_lan_discovery = true
  10. enable_tcp_relay = true
  11. tcp_relay_ports = [443, 3389, 33445]
  12. enable_motd = true
  13. motd = "<<</>>"
  14. bootstrap_nodes = (
  15. {
  16. address = "2a01:4f8:120:4091::3"
  17. port = 33445
  18. public_key = "02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46"
  19. },
  20. {
  21. address = "87.118.126.207"
  22. port = 33445
  23. public_key = "0D303B1778CA102035DA01334E7B1855A45C3EFBC9A83B9D916FFDEBC6DD3B2E"
  24. },
  25. {
  26. address = "46.229.52.198"
  27. port = 33445
  28. public_key = "813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307"
  29. },
  30. {
  31. address = "2001:1470:fbfe::109"
  32. port = 33445
  33. public_key = "813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307"
  34. }
  35. )
  36. '';
  37. };
  38. services.collectd.extraConfig = ''
  39. <Plugin "interface"/>
  40. <Plugin "load"/>
  41. '';
  42. }