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