mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 12:16:32 +03:00
26 lines
361 B
Nix
26 lines
361 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
services = {
|
|
netdata = {
|
|
enable = false;
|
|
config = {
|
|
web = {
|
|
"allow connections from" = "localhost netdata.local *";
|
|
"default port" = "19999";
|
|
"bind to" = "0.0.0.0";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
19999
|
|
];
|
|
}
|