diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-20 00:47:48 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-20 00:48:45 +0530 |
| commit | 94f12611cf8ac342e042a9a331b44a64f4220b02 (patch) | |
| tree | 2544e50e80e2c1f1fc660375c1621fcfc0265f5f /modules/monitoring/grafana.nix | |
| parent | ac422f9df7ee60b7a814d89d111a04341e238dfb (diff) | |
| download | homeserver-nixos-config-94f12611cf8ac342e042a9a331b44a64f4220b02.tar.gz homeserver-nixos-config-94f12611cf8ac342e042a9a331b44a64f4220b02.zip | |
Remove grafana
Diffstat (limited to 'modules/monitoring/grafana.nix')
| -rw-r--r-- | modules/monitoring/grafana.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/monitoring/grafana.nix b/modules/monitoring/grafana.nix deleted file mode 100644 index ae262d6..0000000 --- a/modules/monitoring/grafana.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ settings, ... }: -let - ports = settings.network.ports; -in -{ - services.grafana = { - enable = true; - settings = { - server = { - protocol = "http"; - http_addr = "0.0.0.0"; - http_port = ports.grafana; - domain = "grafana.local"; - serve_from_sub_path = true; - }; - security = { - secret_key = settings.grafana.secretKey; - allow_sign_up = false; - disable_initial_admin_creation = false; - disable_gravatar = true; - admin_user = settings.grafana.adminUser; - admin_email = settings.grafana.adminEmail; - admin_password = settings.grafana.adminPassword; - allow_embedding = true; - }; - }; - }; -} |
