s 1 wolf: use auth.anonymous.enable instead of extraOptions

This commit is contained in:
makefu 2016-11-27 15:25:53 +01:00
parent 2671025d56
commit 78b4901cdf
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -25,10 +25,10 @@ in
services.grafana = {
enable = true;
addr = "0.0.0.0";
extraOptions = { "AUTH_ANONYMOUS_ENABLED" = "true"; };
users.allowSignUp = true;
users.allowOrgCreate = true;
users.autoAssignOrg = true;
auth.anonymous.enable = true;
security = import <secrets/grafana_security.nix>;
};