change grafana to {name} everywhere*

This commit is contained in:
daragh 2024-05-21 03:02:37 +01:00
parent 961509ddc8
commit 739529caae
No known key found for this signature in database

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;
};