format
This commit is contained in:
parent
7fc3164ab8
commit
a8b581f499
12 changed files with 81 additions and 64 deletions
|
|
@ -10,6 +10,7 @@ in {
|
|||
settings = {
|
||||
server = {
|
||||
root_url = "https://${cfg.settings.server.domain}";
|
||||
domain = "monitor.${config.networking.domain}";
|
||||
};
|
||||
"auth.generic_oauth" = {
|
||||
enabled = true;
|
||||
|
|
@ -21,8 +22,7 @@ in {
|
|||
token_url = "https://auth.tristans.cloud/application/o/token/";
|
||||
api_url = "https://auth.tristans.cloud/application/o/userinfo/";
|
||||
redirect_url = "https://auth.tristans.cloud/application/o/grafana/end-session/";
|
||||
role_attribute_path =
|
||||
"contains(groups[*], 'Grafana Admins') && 'Admin' || contains(groups[*], 'Grafana Editors') && 'Editor' || 'Viewer'";
|
||||
role_attribute_path = "contains(groups[*], 'Grafana Admins') && 'Admin' || contains(groups[*], 'Grafana Editors') && 'Editor' || 'Viewer'";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue