commit | 6f0f43d2af2b9d7d845e39e900943687868a5fcf | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Wed May 03 15:01:05 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Wed May 03 15:01:32 2023 +0000 |
tree | dd810cf0f40974d68eb4047a9178ed024b061784 | |
parent | fed0bb13dba32556a42e3b35e273f737c9b4a367 [diff] |
Enable grafana with a basic (firewalled for now) config
diff --git a/modules/grafana.nix b/modules/grafana.nix new file mode 100644 index 0000000..69c231e --- /dev/null +++ b/modules/grafana.nix
@@ -0,0 +1,15 @@ +{ + services.grafana = { + enable = true; + + settings = { + server = rec { + domain = "logs.clicks.codes"; + root_url ="https://${domain}"; + http_port = 9052; + enable_gzip = true; + }; + analytics.reporting_enabled = false; + }; + }; +}