From ac2cdc0696a9de105cc998b9ec1aef07d0b4f654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 14 Aug 2023 17:10:11 +0300 Subject: [PATCH] GrafanaAdmin is our default --- hosts/vno1-oh2/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 5ad0a82..f336416 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -158,14 +158,14 @@ http_port = myData.ports.grafana; }; users.auto_assign_org = true; - users.auto_assign_org_role = "Editor"; + users.auto_assign_org_role = "Admin"; # https://github.com/grafana/grafana/issues/70203#issuecomment-1612823390 auth.oauth_allow_insecure_email_lookup = true; "auth.generic_oauth" = { enabled = true; - #auto_login = true; + auto_login = true; client_id = "5349c113-467d-4b95-a61b-264f2d844da8"; client_secret = "$__file{/run/grafana/oidc-secret}"; auth_url = "https://git.jakstys.lt/login/oauth/authorize";