Use correct option names for grafana
This commit is contained in:
parent
7671c5ab17
commit
e31d087431
|
@ -4,17 +4,19 @@
|
||||||
services.grafana = {
|
services.grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
analytics.reporting.enable = false;
|
analytics.reporting.enable = false;
|
||||||
analytics.check_for_updates = false;
|
|
||||||
protocol = "socket";
|
protocol = "socket";
|
||||||
rootUrl = "https://stats.besaid.de/";
|
rootUrl = "https://stats.besaid.de/";
|
||||||
auth.anonymous.enable = true;
|
auth.anonymous.enable = true;
|
||||||
auth.anonymous.hide_version = true;
|
|
||||||
auth.signout_redirect_url = "/";
|
|
||||||
security = {
|
security = {
|
||||||
adminUser = "tokudan";
|
adminUser = "tokudan";
|
||||||
adminPasswordFile = "/var/lib/grafana/admin.pw";
|
adminPasswordFile = "/var/lib/grafana/admin.pw";
|
||||||
secretKeyFile = "/var/lib/grafana/security.key";
|
secretKeyFile = "/var/lib/grafana/security.key";
|
||||||
};
|
};
|
||||||
|
extraOptions = {
|
||||||
|
"ANALYTICS.CHECK_FOR_UPDATES" = "false";
|
||||||
|
"AUTH_ANONYMOUS_HIDE_VERSION" = "true";
|
||||||
|
"AUTH_SIGNOUT_REDIRECT_URL" = "/";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
systemd.services.grafana.serviceConfig = {
|
systemd.services.grafana.serviceConfig = {
|
||||||
# upstream module already defines most hardening options
|
# upstream module already defines most hardening options
|
||||||
|
|
Loading…
Reference in a new issue