grafana: Add plugins, disable HTML sanitization
This commit is contained in:
parent
c757e6cfb0
commit
f2ebda369a
1 changed files with 12 additions and 1 deletions
|
@ -1,17 +1,28 @@
|
||||||
{ config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
services.grafana = {
|
services.grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
declarativePlugins = with pkgs.grafanaPlugins; [
|
||||||
|
grafana-piechart-panel
|
||||||
|
grafana-polystat-panel
|
||||||
|
grafana-clock-panel
|
||||||
|
];
|
||||||
settings = {
|
settings = {
|
||||||
log = {
|
log = {
|
||||||
level = "info";
|
level = "info";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
panels = {
|
||||||
|
disable_sanitize_html = true;
|
||||||
|
};
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
domain = "saga.datarift.nl";
|
domain = "saga.datarift.nl";
|
||||||
enforce_domain = true;
|
enforce_domain = true;
|
||||||
http_addr = "0.0.0.0";
|
http_addr = "0.0.0.0";
|
||||||
root_url = "https://saga.datarift.nl";
|
root_url = "https://saga.datarift.nl";
|
||||||
};
|
};
|
||||||
|
|
||||||
"auth.generic_oauth" = {
|
"auth.generic_oauth" = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
name = "Keycloak";
|
name = "Keycloak";
|
||||||
|
|
Loading…
Reference in a new issue