VEGAS/monitoring: move stuff into settings

This commit is contained in:
Max Headroom 2022-12-17 20:28:27 +01:00
parent dbf4d05613
commit f1685ef060

View file

@ -30,11 +30,13 @@ in
services.grafana = { services.grafana = {
enable = true; enable = true;
package = inputs.self.packages.${pkgs.system}.grafana; package = inputs.self.packages.${pkgs.system}.grafana;
inherit (links.grafana) port;
rootUrl = "https://monitoring.${domain}/";
dataDir = "/srv/storage/private/grafana"; dataDir = "/srv/storage/private/grafana";
analytics.reporting.enable = false;
settings = { settings = {
server = {
root_url = "https://monitoring.${domain}/";
http_port = links.grafana.port;
};
analytics.reporting_enabled = false;
"auth.generic_oauth" = { "auth.generic_oauth" = {
enabled = true; enabled = true;
allow_sign_up = true; allow_sign_up = true;