diff options
| author | seth <[email protected]> | 2023-05-19 11:19:55 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-19 11:19:55 -0400 |
| commit | 8e5ce33b09eafb2b477d7b10f7a745b6189e0464 (patch) | |
| tree | 033108059b9d263d0e8d8df7d3e0e58199eb12be /hosts/p-body/grafana.nix | |
| parent | 44fef05d2e39060a32b61c0e2346b45803cddc77 (diff) | |
p-body: add grafana, loki, and prometheus
Diffstat (limited to 'hosts/p-body/grafana.nix')
| -rw-r--r-- | hosts/p-body/grafana.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hosts/p-body/grafana.nix b/hosts/p-body/grafana.nix new file mode 100644 index 0000000..e557070 --- /dev/null +++ b/hosts/p-body/grafana.nix @@ -0,0 +1,14 @@ +{config, ...}: let + inherit (config.networking) domain; +in { + services.grafana = { + enable = true; + settings = { + server = { + http_addr = "127.0.0.1"; + http_port = 4000; + domain = "grafana.${domain}"; + }; + }; + }; +} |
