Use correct option names for grafana

This commit is contained in:
Daniel Frank 2022-01-28 21:40:36 +01:00
parent 7671c5ab17
commit e31d087431
Signed by: tokudan
GPG key ID: 063CCCAD04182D32

View file

@ -4,17 +4,19 @@
services.grafana = {
enable = true;
analytics.reporting.enable = false;
analytics.check_for_updates = false;
protocol = "socket";
rootUrl = "https://stats.besaid.de/";
auth.anonymous.enable = true;
auth.anonymous.hide_version = true;
auth.signout_redirect_url = "/";
security = {
adminUser = "tokudan";
adminPasswordFile = "/var/lib/grafana/admin.pw";
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 = {
# upstream module already defines most hardening options