tsuki: move grafana config into nondeprecated attrset
This commit is contained in:
parent
3820be9ef9
commit
b5030a7c06
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue