Add grafana #117
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue