From f1685ef0602f00b2a9e17781bdeb5fa98f7f4788 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 17 Dec 2022 20:28:27 +0100 Subject: [PATCH] VEGAS/monitoring: move stuff into settings --- hosts/VEGAS/services/monitoring/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hosts/VEGAS/services/monitoring/default.nix b/hosts/VEGAS/services/monitoring/default.nix index 2e30bf6..44130de 100644 --- a/hosts/VEGAS/services/monitoring/default.nix +++ b/hosts/VEGAS/services/monitoring/default.nix @@ -30,11 +30,13 @@ in services.grafana = { enable = true; package = inputs.self.packages.${pkgs.system}.grafana; - inherit (links.grafana) port; - rootUrl = "https://monitoring.${domain}/"; dataDir = "/srv/storage/private/grafana"; - analytics.reporting.enable = false; settings = { + server = { + root_url = "https://monitoring.${domain}/"; + http_port = links.grafana.port; + }; + analytics.reporting_enabled = false; "auth.generic_oauth" = { enabled = true; allow_sign_up = true;