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
name = "grafana";
cfg = config.services.skynet.grafana;
cfg = config.services.skynet."${name}";
port = 4444;
in {
imports = [
@ -51,7 +51,7 @@ in {
services.grafana = {
enable = true;
domain = "grafana.skynet.ie";
domain = "${name}.skynet.ie";
port = cfg.port;
addr = cfg.host.ip;
};