1
Fork 0

Fix outdated grafana option names

This commit is contained in:
prescientmoon 2024-02-24 06:57:37 +01:00
parent cf50ecc758
commit edb4381d0d
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -15,9 +15,8 @@ in
enable = true;
settings = {
domain = "grafana.moonythm.dev";
port = 8409;
addr = "127.0.0.1";
server.domain = "grafana.moonythm.dev";
server.http_port = 8409;
# {{{ Smtp
smtp = {
@ -54,8 +53,8 @@ in
};
# }}}
# {{{ Networking & storage
services.nginx.virtualHosts.${config.services.grafana.domain} =
config.satellite.proxy config.services.grafana.port { };
services.nginx.virtualHosts.${config.services.grafana.settings.server.domain} =
config.satellite.proxy config.services.grafana.settings.server.http_port { };
environment.persistence."/persist/state".directories = [
config.services.grafana.dataDir