rename analytics domain to grafana

This commit is contained in:
Reid 2024-05-09 17:12:37 -07:00
parent 0729d089f8
commit 0d8e2b9673
3 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ in {
metrics = { metrics = {
enable = true; enable = true;
domain = "analytics.reidlab.online"; domain = "grafana.reidlab.online";
port = 2342; port = 2342;
}; };
}; };

View file

@ -8,7 +8,7 @@ in {
enable = mkEnableOption "enable grafana with loki, prometheus, and promtail"; enable = mkEnableOption "enable grafana with loki, prometheus, and promtail";
domain = mkOption { domain = mkOption {
type = types.str; type = types.str;
default = "analytics.reidlab.online"; default = "grafana.reidlab.online";
}; };
port = mkOption { port = mkOption {
type = types.int; type = types.int;

View file

@ -5,7 +5,7 @@ let
cfg = config.modules.services.nginx-config; cfg = config.modules.services.nginx-config;
in { in {
options.modules.services.nginx-config = { options.modules.services.nginx-config = {
enable = mkEnableOption "enable and configure nginx. you know what nginx is."; enable = mkEnableOption "enable and configure nginx, a high performance web server";
package = mkOption { package = mkOption {
type = types.package; type = types.package;
@ -29,7 +29,7 @@ in {
acceptTerms = true; acceptTerms = true;
defaults.email = "reidlab325@gmail.com"; defaults.email = "reidlab325@gmail.com";
# uncomment me for staging! # uncomment me for staging!
# defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory"; #defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
}; };
services.nginx = { services.nginx = {