mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
15 lines
280 B
Nix
15 lines
280 B
Nix
{ config, kw, ... }:
|
|
|
|
{
|
|
network.firewall.private.tcp.ports = [ 19999 ];
|
|
|
|
services.netdata = { enable = true; };
|
|
|
|
services.nginx.virtualHosts = kw.virtualHostGen {
|
|
block = {
|
|
locations."/netdata" = {
|
|
proxyPass = "http://[::1]:19999/";
|
|
};
|
|
};
|
|
};
|
|
}
|