VEGAS/monitoring: move stuff into settings
This commit is contained in:
parent
dbf4d05613
commit
f1685ef060
1 changed files with 5 additions and 3 deletions
|
@ -30,11 +30,13 @@ in
|
||||||
services.grafana = {
|
services.grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.self.packages.${pkgs.system}.grafana;
|
package = inputs.self.packages.${pkgs.system}.grafana;
|
||||||
inherit (links.grafana) port;
|
|
||||||
rootUrl = "https://monitoring.${domain}/";
|
|
||||||
dataDir = "/srv/storage/private/grafana";
|
dataDir = "/srv/storage/private/grafana";
|
||||||
analytics.reporting.enable = false;
|
|
||||||
settings = {
|
settings = {
|
||||||
|
server = {
|
||||||
|
root_url = "https://monitoring.${domain}/";
|
||||||
|
http_port = links.grafana.port;
|
||||||
|
};
|
||||||
|
analytics.reporting_enabled = false;
|
||||||
"auth.generic_oauth" = {
|
"auth.generic_oauth" = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
allow_sign_up = true;
|
allow_sign_up = true;
|
||||||
|
|
Loading…
Reference in a new issue