From 9675463d96cf1b51f4bb9d8535c5057a106e3c4a Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 17 Jan 2020 11:28:53 +0100 Subject: [PATCH] Server7: remove Tox bootstrap container There is a Tox bot running on this machine that acts as a DHT node and provides fast local discovery. --- host-registry.nix | 1 - hosts/server7/containers/tox/default.nix | 47 ------------------------ 2 files changed, 48 deletions(-) delete mode 100644 hosts/server7/containers/tox/default.nix diff --git a/host-registry.nix b/host-registry.nix index e56e8bde..cd002dde 100644 --- a/host-registry.nix +++ b/host-registry.nix @@ -13,7 +13,6 @@ rec { "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMiDm1b0NubTtcE9NuKrIpEOea5oS/yCW0Ncoaf/w3uy"; storage-ng.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMeg5ojU7U8+Lx824y+brazVJ007mEJDM7C7aUruOWGP"; - tox = { }; }; hqPublic = builtins.attrNames hosts; diff --git a/hosts/server7/containers/tox/default.nix b/hosts/server7/containers/tox/default.nix deleted file mode 100644 index f4556f31..00000000 --- a/hosts/server7/containers/tox/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - c3d2.hq.statistics.enable = true; - - networking.firewall.enable = false; - - services.toxBootstrapd = { - enable = true; - extraConfig = '' - enable_ipv6 = true - enable_lan_discovery = true - enable_tcp_relay = true - tcp_relay_ports = [443, 3389, 33445] - enable_motd = true - motd = "<<>" - bootstrap_nodes = ( - { - address = "2a01:4f8:120:4091::3" - port = 33445 - public_key = "02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46" - }, - { - address = "87.118.126.207" - port = 33445 - public_key = "0D303B1778CA102035DA01334E7B1855A45C3EFBC9A83B9D916FFDEBC6DD3B2E" - }, - { - address = "46.229.52.198" - port = 33445 - public_key = "813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307" - }, - { - address = "2001:1470:fbfe::109" - port = 33445 - public_key = "813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307" - } - ) - ''; - }; - - services.collectd.extraConfig = '' - - - ''; - -}