server7/tox: add Tox bootstrap node

This commit is contained in:
Ehmry - 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, ... }: { config, pkgs, lib, ... }:
{ {
c3d2.hq.statistics.enable = true;
networking.firewall.enable = false; networking.firewall.enable = false;
services.toxBootstrapd = { services.toxBootstrapd = {
@ -37,22 +39,9 @@
''; '';
}; };
services.collectd = { services.collectd.extraConfig = ''
enable = true; LoadPlugin load
autoLoadPlugin = true; LoadPlugin interface
extraConfig = '' '';
HostName "${config.networking.hostName}"
FQDNLookup false
Interval 10
LoadPlugin load
LoadPlugin interface
LoadPlugin network
<Plugin "network">
Server "grafana.hq.c3d2.de" "25826"
</Plugin>
'';
};
} }