diff --git a/hosts/containers/sdrweb/default.nix b/hosts/containers/sdrweb/default.nix index e38d76aa..be13f09f 100644 --- a/hosts/containers/sdrweb/default.nix +++ b/hosts/containers/sdrweb/default.nix @@ -1,5 +1,10 @@ { hostRegistry, config, ... }: { + c3d2 = { + isInHq = false; + hq.statistics.enable = true; + }; + networking.hostName = "sdrweb"; networking.useNetworkd = true; networking.interfaces.eth0.ipv4.addresses = [{ @@ -27,6 +32,38 @@ services.openwebrx.enable = true; + services.collectd.plugins = { + curl_json = '' + + Plugin "openwebrx_decodes" + + Type "counter" + + + Type "counter" + + + Type "counter" + + + Type "counter" + + + Type "gauge" + + + Type "gauge" + + + Type "gauge" + + + Type "gauge" + + + ''; + }; + # noXlibs breaks cairo: environment.noXlibs = false; } diff --git a/hosts/radiobert/default.nix b/hosts/radiobert/default.nix index 75634491..20406f60 100644 --- a/hosts/radiobert/default.nix +++ b/hosts/radiobert/default.nix @@ -108,35 +108,6 @@ in }; }; - services.collectd.plugins = { - curl_json = '' - - Plugin "openwebrx_decodes" - - Type "counter" - - - Type "counter" - - - Type "counter" - - - Type "counter" - - - Type "gauge" - - - Type "gauge" - - - Type "gauge" - - - Type "gauge" - - users.users.dump1090 = { isSystemUser = true; group = "dump10190";