server7/tox: add Tox bootstrap node
This commit is contained in:
parent
023cd48e6e
commit
7f138f7b8f
|
@ -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>
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue