Fix outdated grafana option names
This commit is contained in:
parent
cf50ecc758
commit
edb4381d0d
|
@ -15,9 +15,8 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
domain = "grafana.moonythm.dev";
|
server.domain = "grafana.moonythm.dev";
|
||||||
port = 8409;
|
server.http_port = 8409;
|
||||||
addr = "127.0.0.1";
|
|
||||||
|
|
||||||
# {{{ Smtp
|
# {{{ Smtp
|
||||||
smtp = {
|
smtp = {
|
||||||
|
@ -54,8 +53,8 @@ in
|
||||||
};
|
};
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Networking & storage
|
# {{{ Networking & storage
|
||||||
services.nginx.virtualHosts.${config.services.grafana.domain} =
|
services.nginx.virtualHosts.${config.services.grafana.settings.server.domain} =
|
||||||
config.satellite.proxy config.services.grafana.port { };
|
config.satellite.proxy config.services.grafana.settings.server.http_port { };
|
||||||
|
|
||||||
environment.persistence."/persist/state".directories = [
|
environment.persistence."/persist/state".directories = [
|
||||||
config.services.grafana.dataDir
|
config.services.grafana.dataDir
|
||||||
|
|
Loading…
Reference in a new issue