Add grafana #117

Merged
esy merged 7 commits from grafana into main 2024-05-21 02:50:42 +00:00
Showing only changes of commit 739529caae - Show all commits

View file

@ -5,7 +5,7 @@
}: }:
with lib; let with lib; let
name = "grafana"; name = "grafana";
cfg = config.services.skynet.grafana; cfg = config.services.skynet."${name}";
port = 4444; port = 4444;
in { in {
imports = [ imports = [
@ -51,7 +51,7 @@ in {
services.grafana = { services.grafana = {
enable = true; enable = true;
domain = "grafana.skynet.ie"; domain = "${name}.skynet.ie";
port = cfg.port; port = cfg.port;
addr = cfg.host.ip; addr = cfg.host.ip;
}; };