server7/tox: add Tox bootstrap node

This commit is contained in:
Emery Hemingway 2019-12-02 14:35:59 +01:00 committed by Astro
parent 023cd48e6e
commit 7f138f7b8f
1 changed files with 6 additions and 17 deletions

View File

@ -1,6 +1,8 @@
{ config, pkgs, lib, ... }:
{
c3d2.hq.statistics.enable = true;
networking.firewall.enable = false;
services.toxBootstrapd = {
@ -37,22 +39,9 @@
'';
};
services.collectd = {
enable = true;
autoLoadPlugin = true;
extraConfig = ''
HostName "${config.networking.hostName}"
FQDNLookup false
Interval 10
LoadPlugin load
LoadPlugin interface
LoadPlugin network
<Plugin "network">
Server "grafana.hq.c3d2.de" "25826"
</Plugin>
'';
};
services.collectd.extraConfig = ''
LoadPlugin load
LoadPlugin interface
'';
}