Files
nixos/modules/server/netdata.nix
T
2026-03-12 11:40:58 +03:00

33 lines
514 B
Nix

{
config,
inputs,
lib,
pkgs,
...
}:
{
services = {
netdata = {
enable = true;
package = pkgs.netdata.override {
withCloudUi = true;
};
config = {
web = {
"allow connections from" = "localhost *";
"default port" = "19999";
"bind to" = "0.0.0.0";
};
};
python = {
enable = true;
recommendedPythonPackages = true;
};
};
};
networking.firewall.allowedTCPPorts = [
19999
];
}