netdata: disable cloud support by default, add netdataCloud package

This commit is contained in:
Izorkin 2023-10-03 17:23:40 +03:00
parent 11e05fb515
commit 4b3012c59f
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09
3 changed files with 7 additions and 1 deletions

View file

@ -339,6 +339,8 @@ The module update takes care of the new config syntax and the data itself (user
- Suricata was upgraded from 6.0 to 7.0 and no longer considers HTTP/2 support as experimental, see [upstream release notes](https://forum.suricata.io/t/suricata-7-0-0-released/3715) for more details.
- Cloud support in the `netdata` package is now disabled by default. To enable it use the `netdataCloud` package.
- `networking.nftables` now has the option `networking.nftables.table.<table>` to create tables
and have them be updated atomically, instead of flushing the ruleset.

View file

@ -8,7 +8,7 @@
, withDBengine ? true, lz4
, withIpmi ? (!stdenv.isDarwin), freeipmi
, withNetfilter ? (!stdenv.isDarwin), libmnl, libnetfilter_acct
, withCloud ? (!stdenv.isDarwin)
, withCloud ? false
, withCloudUi ? false
, withConnPubSub ? false, google-cloud-cpp, grpc
, withConnPrometheus ? false, snappy

View file

@ -10229,6 +10229,10 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit;
protobuf = protobuf3_21;
};
netdataCloud = netdata.override {
withCloud = !stdenv.isDarwin;
withCloudUi = true;
};
# Exposed here so the bots can auto-upgrade it
netdata-go-plugins = callPackage ../tools/system/netdata/go.d.plugin.nix { };