core01: try latest nightly for netdata and disable cloud
This commit is contained in:
parent
4bc4550540
commit
964912c3d4
1 changed files with 6 additions and 10 deletions
|
@ -37,17 +37,19 @@ in
|
||||||
services.netdata = {
|
services.netdata = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.netdata.overrideAttrs (old: {
|
package = pkgs.netdata.overrideAttrs (old: {
|
||||||
version = "1.35.0-nightly";
|
version = "1.36.0-185-nightly";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "netdata";
|
owner = "netdata";
|
||||||
repo = "netdata";
|
repo = "netdata";
|
||||||
rev = "955d1a7c61f4eab802648d563f84d978ebeb8fc4";
|
rev = "284d5450ec938b667db9985aca6d3cd02b96487f";
|
||||||
sha256 = "sha256-gN44Df+k384NummsHls2JY1CinBaFK3cpdmmdZMbA44=";
|
sha256 = "sha256-QRZL1RjspiqpR1cq8TDqY0wDc4ct7BDY0vbddsvlHgc=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.netdata.environment."NETDATA_DISABLE_CLOUD" = "1";
|
||||||
|
|
||||||
# Allow WireGuard VPN
|
# Allow WireGuard VPN
|
||||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||||
# Allow access to the raw netdata
|
# Allow access to the raw netdata
|
||||||
|
@ -71,12 +73,6 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.netdata.restartTriggers = map (v: config.environment.etc."netdata/${v}.conf".source) [
|
|
||||||
"netdata"
|
|
||||||
"stream"
|
|
||||||
"health_alarm_notify"
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.etc."netdata/netdata.conf" = lib.mkForce {
|
environment.etc."netdata/netdata.conf" = lib.mkForce {
|
||||||
user = "netdata";
|
user = "netdata";
|
||||||
group = "netdata";
|
group = "netdata";
|
||||||
|
@ -122,7 +118,7 @@ in
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
text = ''
|
text = ''
|
||||||
# External tools
|
# External tools
|
||||||
nc="${pkgs.netcat}/bin/nc"
|
nc="${pkgs.nmap}/bin/nc --ssl"
|
||||||
|
|
||||||
# IRC configuration
|
# IRC configuration
|
||||||
SEND_IRC="YES"
|
SEND_IRC="YES"
|
||||||
|
|
Loading…
Add table
Reference in a new issue