tsuki: move grafana config into nondeprecated attrset

This commit is contained in:
Oystein Kristoffer Tveit 2023-01-16 17:09:06 +01:00
parent 3820be9ef9
commit b5030a7c06
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -8,15 +8,20 @@
services.grafana = {
enable = true;
domain = "log.nani.wtf";
port = secrets.ports.grafana;
addr = "0.0.0.0";
dataDir = "${config.machineVars.dataDrives.default}/var/grafana";
database = {
type = "postgres";
user = "grafana";
host = "localhost:${toString secrets.ports.postgres}";
settings = {
server = {
domain = "log.nani.wtf";
http_addr = "0.0.0.0";
http_port = secrets.ports.grafana;
};
database = {
type = "postgres";
user = "grafana";
host = "localhost:${toString secrets.ports.postgres}";
};
};
};
}