switch to grafana

This commit is contained in:
twoneis 2025-02-23 15:26:58 +01:00
parent e16ccb1ac1
commit 202c7aed6c
5 changed files with 33 additions and 28 deletions

View file

@ -1,25 +0,0 @@
{ lib, pkgs, config, ... }: let
inherit (lib) mkIf;
inherit (config) conf;
in mkIf conf.netdata.enable {
services.nginx = {
virtualHosts = {
"netdata.twoneis.site" = {
useACMEHost = "twoneis.site";
forceSSL = true;
locations."/".proxyPass = "http://localhost:19999";
};
};
};
services.netdata = {
enable = true;
package = pkgs.netdata.override { withCloudUI = true; };
config = {
global = {
"memory mode" = "ram";
"error log" = "syslog";
};
};
};
}