Skip to content
Snippets Groups Projects
Commit 8dbb3544 authored by Florian Sesser's avatar Florian Sesser
Browse files

grafana.nix: Formatting/white space/putting things in their right name space

This commit does not change the semantics, only the looks.
parent c0d604af
No related branches found
No related tags found
No related merge requests found
......@@ -81,14 +81,13 @@ in {
# Defend against DNS rebinding attacks.
SERVER_ENFORCE_DOMAIN = "true";
};
};
services.grafana.auth = {
auth = {
anonymous.org_role = "Admin";
anonymous.org_name = "Main Org.";
} // grafanaAuth;
services.grafana.provision = {
provision = {
enable = true;
# See https://grafana.com/docs/grafana/latest/administration/provisioning/#datasources
datasources = [{
......@@ -109,6 +108,7 @@ in {
options.path = ./grafana-config;
}];
};
};
# nginx reverse proxy
security.acme.email = cfg.letsEncryptAdminEmail;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment